I have seen some programs with use a 'for' loop as follows:
Could you tell me what it means?Code:for ( , , )
...
Printable View
I have seen some programs with use a 'for' loop as follows:
Could you tell me what it means?Code:for ( , , )
...
you mean for ( ; ; )?
It's an infinite loop. It will run forever. The exit clause of the loop is located inside the braces, usually in the form of condition and a break statement.