Raised This Month: $ Target: $400
 0% 

[solved thx](1<<1) numbers how to set em?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Owyn
Veteran Member
Join Date: Nov 2007
Old 01-28-2010 , 11:53   [solved thx](1<<1) numbers how to set em?
Reply With Quote #1

i tried
PHP Code:
new msg[64],num,finalnum;
num 1;
formatexmsg63"(1<<%d)"num);
finalnum str_to_num(msg); 
but it doesn't work =\
__________________
☜ Free Mozy ☂backup\҉sync user
Quote:
Американский форум - Задаёшь вопрос, потом тебе отвечают.
Израильский форум - Задаёшь вопрос, потом тебе задают вопрос.
Русский форум - Задаёшь вопрос, потом тебе долго рассказывают, какой ты мудак.
Owyn is offline
Send a message via ICQ to Owyn
YamiKaitou
Has a lovely bunch of coconuts
Join Date: Apr 2006
Location: Texas
Old 01-28-2010 , 11:54   Re: (1<<1) numbers how to set em?
Reply With Quote #2

Tried this yet?
PHP Code:
finalnum = (1<<num
__________________
ProjectYami Laboratories

I do not browse the forums regularly anymore. If you need me for anything (asking questions or anything else), then PM me (be descriptive in your PM, message containing only a link to a thread will be ignored).
YamiKaitou is offline
Owyn
Veteran Member
Join Date: Nov 2007
Old 01-28-2010 , 11:57   Re: (1<<1) numbers how to set em?
Reply With Quote #3

thx ^^
__________________
☜ Free Mozy ☂backup\҉sync user
Quote:
Американский форум - Задаёшь вопрос, потом тебе отвечают.
Израильский форум - Задаёшь вопрос, потом тебе задают вопрос.
Русский форум - Задаёшь вопрос, потом тебе долго рассказывают, какой ты мудак.
Owyn is offline
Send a message via ICQ to Owyn
Bugsy
AMX Mod X Moderator
Join Date: Feb 2005
Location: NJ, USA
Old 01-28-2010 , 12:06   Re: (1<<1) numbers how to set em?
Reply With Quote #4

for your example
PHP Code:
new msg[64],num,finalnum;
num 1;
formatexmsg63"%d" , ( << num ) );
finalnum str_to_num(msg); 
__________________
Bugsy is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 07:18.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode