- Preprocessor Directive is copying in the text of an external function called
<iostream>
- Main function is required by C++ and it is executed when we run our program, like a wrapper for the code it contains
- Expression Statements are just printing text to the terminal to welcome someone to the game
- Declaration statements are initializing variables
- Return Statement is required to exit the main function, a
return 0;
allows main function to return without errors I think… return 1;
would throw an error maybe?
Privacy & Terms