Is this entirely subjective, or is there a reason for using for( ;; )? I've seen it used, and I understand that it's valid, but I couldn't understand why it's used over while(1).
My bad, and noted...
Type: Posts; User: msh
Is this entirely subjective, or is there a reason for using for( ;; )? I've seen it used, and I understand that it's valid, but I couldn't understand why it's used over while(1).
My bad, and noted...
Just for the future. :)
// It's better to do this...
while (1) {
...
if (condition) break;
...
}