From: G DOT DegliEsposti AT ads DOT it To: djgpp AT delorie DOT com Message-ID: Date: Mon, 23 Feb 1998 10:38:22 +0100 Subject: Re: xor and how to do it Mime-Version: 1.0 Content-type: text/plain; charset=us-ascii Precedence: bulk >> Don't understand your question here. :( There are no keywords in C/C++ >> named 'and' 'or' or 'xor'! > >That's not true. At least not for GNU C++. There is a commandline >switch -foperator-names which enables the use of these keywords >as synonyms for the corresponding characters. Read the gcc doc for it. Two questions: Is this some gcc extension or is it standard c++ ? Are these operators exactly equal to the symbols or is it like perl (same semanthics but different priority) ? ciao Giacomo