#ifndef __COMPLEX_H #define __COMPLEX_H #include class Complex { public: Complex(float real = 0.0, float imag = 0.0); // Use of default // arguments. Complex(const Complex &x); // Copy constructor. ~Complex() { cout << "Destructor called.\n"; } void Add(Complex y); // Example of function // overloading. void Add(float y); void Multiply(Complex y); void Multiply(float y); void Conjugate(void); void Display(void); private: float re; float im; }; #endif