2.1.2.1. Errors¶
2.1.2.1.1. Missing semi-colon at end of statement¶
error: expected ‘;’ before ‘int’
2.1.2.1.2. Pre-processor directive for iostream is missing¶
error: ‘cout’ was not declared in this scope error: ‘endl’ was not declared in this scope
2.1.2.1.3. Main function is missing (the scope in the brackets cannot be identified)¶
error: expected unqualified-id before ‘{’ token
2.1.2.1.4. Curly bracket (list initializer) is missing at start of main function¶
error: expected initializer before ‘cout’