do [C++ Reference]
Keywords: keywords,do
Date: 2008-10-14T15:42:04-0700

[[do]]
C++ Reference
Translations of this page?:

- en
- br-pt
- cn
- cz
- de
- es
- fr
- it
- jp
- nl
- pl
- ro
- ru
- sk
- tr
- tw

## do

Syntax:

        do {
        statement-list;
        } while( condition );

The do construct evaluates the given statement-list repeatedly, until condition becomes false. Note that every do loop will evaluate its statement list at least once, because the terminating condition is tested at the end of the loop.

Related Topics: break, continue, for, while

Edit this page • Old revisions
• • • Login • Index • Recent changes • RSS • cc •