Creating Your First C++ Program

Опубликовано: 25 Июль 2012
на канале: Bethany Petr
3,525
like

*Note: I keep saying keyword when I should be saying reserved word.

Basics on creating the most simple C++ console program possible. Quick explanation of the skeleton of a simple C++ program.

Questions:
1) What is the official name of the line containing iostream?
2) What is the point of including iostream?
3) Where does every C++ console program begin its execution?
4) What is the command to output something to the screen?
5) What does an insertion operator look like?
6) What is a string literal?
7) Complete the sentence: Every statement in C++ is terminated with a.....
8) What does the line return 0 do?
9) How much white space are you allowed to have between lines of code?
10) What is the point of white space and indentation?
11) What is the keyboard shortcut to run without debugging?
12) What extra text does running without debugging add to your output?
13) Why would we run without debugging rather than just pressing the little green arrow icon?
14) What is the name of the black window that displays your output?