On Sat, 24 Dec 2011 21:33:33 +1100, Don <[email protected]> wrote:


I think stuff like
int z +=  x > y;
should ideally require a cast. That's a crazy operation.

Another issue is that it is a mere convention that C uses 1 to represent TRUE and 0 to represent FALSE. There are some languages that use 0 for FALSE (all bits off) and -1 for TRUE (all bits on).


--
Derek Parnell
Melbourne, Australia

Reply via email to