I think this is still undefined - you are modifying AND using b in the same statement - how do you know which order it does things? a ^= b first, or b ^= a first?Code:b ^= a ^= b;
--
Mats
I think this is still undefined - you are modifying AND using b in the same statement - how do you know which order it does things? a ^= b first, or b ^= a first?Code:b ^= a ^= b;
--
Mats
Compilers can produce warnings - make the compiler programmers happy: Use them!
Please don't PM me for help - and no, I don't do help over instant messengers.