Thread: operators
View Single Post
  #1  
Old 11-05-2006, 05:41 PM
Chompy Chompy is offline
¯\(º_o)/¯
Chompy's Avatar
Join Date: Sep 2006
Location: Norway
Posts: 2,815
Chompy is just really niceChompy is just really niceChompy is just really nice
Send a message via MSN to Chompy
operators

How do this operators work? I've seen them around, and I've wondered how they work

HTML Code:
Bitwise-Shift left        a << b
Bitwise-Shift right       a >> b
Bitwise-Invert            ~a
Bitwise-Xor               a xor b (operator ^ already used for power)
Power Assignment          a ^= b
Shift Left Assignment     a <<= b
Shift Right Assignment    a >>= b
(Listed on the Wiki)
That are some of the operators I don't seem to understand,
anyone can help me with those?

AND, what is the fully different beetween "=" and "=="?
__________________
Reply With Quote