C Plus Plus do-while

From GMpedia.org Wiki

Jump to: navigation, search

The function of the do-while loop in C++ is identical to that of the while loop, the only difference between them is in the syntax.

do
{
 <expression>
}
while(<statement>)

[edit] See Also

Personal tools