C++ Review: List of Topics (since Test 2)


Templates

Function Templates:

Class Templates:

Template Declarations and Object Instantiations:

Data Structures

Basic Data Structures

Some Basic Data Structure Types Implementing Basic Data Structures

Recursion


Exception Handling

Exception Handling:

Basic Syntax:

Miscellaneous

Conditional Compilation Can be used like if statements, at the compiler level.
Used to check if symbols are defined, and compile sections of code based on the result.
#endif is the ending of the "body" of the if-statement when using #ifndef or #ifdef

Example

 #ifndef _FRACTION_H
 #define _FRACTION_H
 ...
 // conditionally compiled code goes here
 ...
 #endif