There is no bool type in C. In C99 there is _Bool (stdbool.h) however. But the concept is the same, or similar:Code:bool done = false;
Quzah.Code:for( foo = 0; foo < bar && condition == keepgoing; foo++ ) { for( baz = 0; baz < bongo; baz++ ) { if( somecondition ) { condition = !keepgoing; break; } } }