Search Contact information
University of Cambridge Home Department of Engineering
University of Cambridge >  Engineering Department >  computing help
next up previous
Next: Text input and output Up: C++ Summary Previous: Blocks

   
Control statements

Control statements determine the order in which nested statements are executed. In the following, b denotes a boolean expression, i is a variable of any simple type and s, s1 and s2 are single statements. Where more than one statement is required in a control structure, a block should be used.

© Cambridge University Engineering Dept
Information provided by Tim Love
2006-12-08