Tag Archives: Operator Number

C++ program to add two complex nos.

By | June 18, 2011

The program contains a class complex with two member variables x and y and a string class with one member variable. Two objects are created for complex class and string class and accepted values through read () function and their values are added using the operator overloaded function and assigned to the third object for… Read More »