Category:C: Difference between revisions

Line 36:
 
}</lang>
 
===Semicolons===
Any "executable" statement must end in a semicolon, such as an assignment or function call. If you get an error message from your compiler, it won't explicitly tell you "Expected semicolon at end of line X." Go to the line number it says the error is at, and look a few lines <i>above</i> that. You might have forgotten a semicolon there.
 
===Scope===
1,489

edits