C++ Language/ProgramFlow

From Wikibooks, open books for an open world
Jump to navigation Jump to search

When a C++ program is running, you should think of the computer as executing its statements in a flow that generally goes linearly from first to last statement. However, the language provides several programming constructs which can alter that program flow.

  1. Loops
  2. The break Statement
  3. Return Value
  4. Parameters
  5. Function Overloading
  6. Function-Pointer
  7. Deprecating a Function