April 2011
Beginner
464 pages
9h 18m
English
All C++ programs are made up of statements, which are commands that end with a semicolon. Each statement takes up one line by convention, but this is not a requirement—multiple statements could be put on a line as long as each ends with a semicolon. A statement controls the program’s sequence of execution, evaluates an expression, or can even do nothing (the null statement). A common statement is an assignment:
x = a + b;
This statement assigns the variable x to equal the sum of a + b. The assignment operator ...