www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/02/15/17:45:33

Message-ID: <34E76FB9.2ECB@quantum.de>
Date: Sun, 15 Feb 1998 23:44:09 +0100
From: Tom Chojnacki <chojnack AT quantum DOT de>
Reply-To: chojnack AT quantum DOT de
Organization: Quantum Software GmbH, Dortmund, Germany
MIME-Version: 1.0
To: djgpp AT delorie DOT com
Subject: Re: xor and how to do it

Jamie Love wrote:
> 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??
xor operator is ^

> Is it possible.
> Also, what are the use of the keywords and, xor and or??

and, xor, or - are not keywords in C language

Tom

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019