N
newbie
i'm a newbie for c programming.
Anyone can tell me what the meaning of '<<', '>>', '&' and ' | '?
Anyone can tell me what the meaning of '<<', '>>', '&' and ' | '?
jamx said:The -> symbol points to the member of some object/struct.
Like: myObject->value = 1;
newbie said:i'm a newbie for c programming.
Anyone can tell me what the meaning of '<<', '>>', '&' and ' | '?
newbie said:i'm a newbie for c programming.
Anyone can tell me what the meaning of '<<', '>>', '&' and ' | '?
jamx said:These symbols are bitwise operators.
& = AND
| = OR
<< = left shift
If you want to know what these operators do, i suggest you to read
http://www.cs.cf.ac.uk/Dave/C/node13.html#SECTION001300000000000000000
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.