Jump to content

C++ Language/ProgramFlow

From Wikibooks, open books for an open world

This is the current revision of this page, as edited by SoftwareEngineerMoose (discuss | contribs) at 06:05, 21 February 2022 (Created page with "{{C++ Language}} 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. # Loops # The break Statement # Return Value # Parameters # Function Overloading # /FunctionPointer|Functio..."). The present address (URL) is a permanent link to this version.

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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