Re:The Beauty of Bresenham's Algorithm
by sp332 on Tuesday August 07, 2012 @09:34PM
(#4353405)
You could just say while(true). And I'm not sure that the test for true is implicit, since that is what while() explicitly does.
[ Parent
| on HN ]
C doesn't have true / false as language constants, only as override-able macros.
The good thing is modern compilers can evaluate a loop and if the break condition is constant it can just do an infinite loop without checking.