News for hackers. Stuff that matters.
Re:The Beauty of Bresenham's Algorithm by wollw on Tuesday August 07, 2012 @10:12PM (#4353507)
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/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."

There are no comments on this comment yet.