Preprocessor Directives: This is what you use when you need to include code/coding shortcuts from outside the main “dictionary”. It adds different coding libraries so that the computer will understand the terminology you’re using.
Main Functions: This starts the whole program and without it you would just have a blank terminal or even an error statement. It’s the heart of the code, and where the computer would look first to give you an output. These are required.
Expression Statements: Our expression statements in this case are probably the meat of the code. They are the lines that send input to the computer and tell it to do things, whether you see that in the output or not. (e.g. “MyVariable = 12;” is an expression statement just like “std::cout << MyVariable;” is)
Declaration Statements: These are mainly used as reference statements. They can declare and initialize things such as variables. (e.g. “MyVariable = 7;”)
Return Statements: You should never actually see this come up in your output. If it does, it means you have a coding error and you need to tweak your code. It’s basically a safeguard.