C++ Syntax: continue

Description

continue may only be used inside a loop, such as a for statement. It terminates the current iteration of the loop and proceeds directly to the next. In the case of a for loop it jumps to its test-expr.

Where loop statements are nested, continue terminates the current iteration of the innermost one loop containing it.

Usage Notes

None.
Go Back to the The C++ Crib Top Page


If you have any comments about this page please send them to Nick West