Complex Class Example
-
The first file is the header file for the string class:
Complex.h
-
The second file is the source code file for the string class:
Complex.cpp
-
The third file is the main file to test and use the string class:
ComplexMain.cpp
-
The fourth file is the make file for the above three files:
ComplexMake
To use the make file type:
make -f ComplexMake Complex