Classes and Functions in C ++

Bank class , power function , and a program that uses both modules.

Separate Compilation Example

The same example but using proper module conventions:
Bank class: CPP , header
power function: CPP , header
Program that uses both modules.

I/O Examples

Try these two programs: SimpleInput.cpp , Problematic.cpp on this data file
These programs demonstrate multiple input fields and formatting output ; use this data file
GetLineStrStream.cpp demonstrates line-by-line processing and string streams on this data file

Classes and Memory Allocation, Copy Constructors

Vector class , Program that demonstates when the different constructors and the destructor are called.


Sample programs: Protected Members and Multiple Inheritance , Virtual methods .

Operator Overloading

Digit class Example .


Stack Example .