Mail Archives: djgpp/1998/02/15/17:49:59
At 22.28 1998-02-16 +1300, you wrote:
>Hello,
>In writing my game, I have come across a few occurances where a bitwise xor
>would be extremely helpful.
>
>I know and is &, and or is | but what is xor??
>Is it possible.
Xor should be '^' if I'm not mistaken, i.e. int i = 5 ^ 3;
>Also, what are the use of the keywords and, xor and or??
Don't understand your question here. :( There are no keywords in C/C++
named 'and' 'or' or 'xor'!
-- Peter Palotas alias Blizzar -- blizzar AT hem1 DOT passagen DOT se --
******************************************************
* A brief description of DJGPP: *
* NEVER BEFORE HAVE SO FEW DONE SO MUCH FOR SO MANY! *
******************************************************
- Raw text -