4 ms·
True and false are actually defined as 1 and 0 respectively. I don't have a copy of the standard but this specifies true and false as macros. http://pubs.open
by wollw 14y ago
True and false are actually defined as 1 and 0 respectively. I don't have a copy of the standard but this specifies true and false as macros.
http://pubs.opengroup.org/onlinepubs/007904975/basedefs/stdbool.h.html http://pubs.opengroup.org/onlinepubs/007904975/basedefs/stdb...
Edit: Of course I'm talking about C here. Also, I prefer for(;;) because it's an easy to recognize idiom that means "infinite loop."