1
edit
Changes
→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">