Function Lesson

This is the start of a number of lessons about functions. Functions are the main means to structure the executable code into manageable size pieces. Methods are functions that belong to an object and have the same format and purpose, with slight changes.
Consider the following menu that may be selected by letter or topic:
a) The importance and usefulness of functions
b) Using functions or calling functions
c) Overview of function definition
d) Function parameters
e) Function return values
f) Function and variable scope
or
x) Return to the C++ foyer
You may choose any of these or use 'next' or 'n' to browse them in turn.

Links:
Why use functions?
Calling Functions
Function Definition Overview
Parameters of Functions
Types that functions produce
Scope Lesson
C++ foyer