1. Description

The basic C++ language is relatively primitive. Its basic data types (integers, reals and characters) and operations on them (addition, subtraction, etc). are limited. To build complex programs one needs to use the module building features of c++. Modules are a way of packaging the basic data types and operations into useful and problem specific data types and operations.

C++ modules are called classes and functions. This topic covers functions.

A function is a packaging of C++ statements into a unit which called as needed from elsewhere in the program.


In the Forum:

(no threads at this time)