This example shows references in action.
In this example, all Box objects are created through reference variables.
void TruckLoad::addBox(Box& rBox) {
........
......
...
.
This example demonstrates the use of assert.
If the argument expression is false, a message is written to the standard error device and abort is called, terminating the program execution.
This macro
The preprocessor directives are instruction to the compiler to preprocess the information before actual compilation starts.
There are number of preprocessor directives supported by C++ like #include,