3 ms·
Why not: while( (foo = bar()) != 0 ) { /* other work */ } Or even simpler (since 'foo' serves no real purpose in the example): while(
by ch 15y ago
Why not:
while( (foo = bar()) != 0 )
{
/* other work */
}
Or even simpler (since 'foo' serves no real purpose in the example):
while( bar() )
{
/* other work */
}
- deleted 15y ago[deleted]