Open main menu

CDOT Wiki β

Changes

Team Excellence - oop344 20113 Code Standards

2 bytes added, 16:07, 14 October 2011
For Loop
== For Loop ==
<syntaxhighlight lang="cpp">
for (i=0; condition; i++){
stuff;
}
Similar deal as with the if statement if "stuff" is only one like the curly braces can be omitted.
 
== While Loop ==
<syntaxhighlight lang="cpp">
1
edit