Chapter 4. Types and Declarations
Accept nothing short of perfection!
Perfection is achieved only on the point of collapse.
|--C. N. Parkinson|
Types — fundamental types — Booleans — characters — character literals — integers — integer literals — floating-point types — floating-point literals — sizes — void — enumerations — declarations — names — scope — initialization — objects — typedefs — advice — exercises.
x = y+f(2);
For this to make sense in a C++ program, the names x, y, and f must be suitably declared. That is, the programmer must specify that entities named x, y, and f exist and that they are of types for which
+ (addition), and
() (function call), respectively, are meaningful.
Every name (identifier) ...