I see the different conventions used in many books I had read, where you would create infinite loops with either loop structure such as:
while() foo(); fo
There's no difference.
But
while() foo();
isn't the same that
for(;;foo();)
Remember! If you break the while before the foo() statement, foo() doesn't execute, but if you break the for, foo() executes...