Goals for Chapter 2
From the Book:
- Understand how a C++ program is composed of one or more subprograms.
- Read syntax templates in order to understand the formal rules
governing C++.
- Create and recognise legal C++ identifiers.
- Declare named constants and variables of type char and string.
- Distinguish reserved words in C++ from user defined identifiers.
- Assign values to variables.
- Construct simple string expressions made up of constants, variables
and the concatenation operator.
- Construct a statement that writes to an output stream.
- Determine whtat is printed by a given output statement.
- Use comments to document code.
- Construct simple C++ programs.
- State the steps involved in entering and running a program.