Y'ello Javier!
CAM>> #define OOP 1
CAM>> int C = 1 ;
CAM>> (C + OOP == C++) // originally had (C++ ==
CAM>> C + OOP) but that //
CAM>> wouldn't be right... would it?
JK> This isn't right either, the right would be C + OOP == ++C :/
Hmm, well, another chap helpfully pointed out that it is not stated the order
of evaluation. I fully acknowledge what I said was wrong, and I can't
elieve
I was so daft to post the message in this exacting, almost pedantic
environment. Folks just like myself.
I'd like to hear Thomas Maeder explain exactly why the results of the
comparisons are unspecified. I can't understand how that would work... I
mean, I've written heaps of programs where changes happen on both sides of an
equality operator. I don't doubt him, I just would like confirmation.
Fido = 2:259/33
--Craigzilla++ Internet = McMoose@sol.co.uk
WWW = http://www.taynet.co.uk/users/mcmoose/
--- GEcho 1.00
---------------
* Origin: The Kilted Bun, Letham Angus -- hame o' the McMoose (2:259/33)
|