Raised This Month: $ Target: $400
 0% 

Is small like C++


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
sanaell
Senior Member
Join Date: May 2004
Location: SamutPrakarn Thailand
Old 07-17-2004 , 06:55  
Reply With Quote #5

Quote:
Originally Posted by JJkiller
Bailopan, u seem to know a lot about this kinda stuff. I was always wondering, why ==? Didn't whats his name say nothing can be more equal than =. lol
== is a comparator ( often double sign like &&, ||, <<, >> etc...)

= is just to assign a value to a variable like a=0
(you set a to 0)
so

a=1
b=2
c=a+b
(c = 3)
if you made that now
if (a == b)
a = b + 1
else if b < a
a = b - 1
etc....

- the << and >> is a byte (i believe) utilisation
i use often == (but remind)

a == 1 can be if(a)
and a == 0 can be if(!a)
__________________
[email protected]
The Source of Pain is the Pain of Source
sanaell is offline
Send a message via MSN to sanaell
 



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 14:36.


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