In addition, my opinion Operator == narmally reuturns bool (true, false), thas is true == 1, false == 0
But the TYPE returned should be bool, not int, and the values should be true and false, not 0 and 1. Yes, they are equivalent, and bool can be converted to&from int. But it's CORRECT to use bool, incorrect to use int.
--
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.