#ifndef complex_h #define complex_h class Complex { float r, i; public: Complex(float re=0, float im = 0) { r=re; i=im; } float re() { return r; } float im() { return i; } int operator==(Complex& c); Complex operator+(Complex& c); Complex operator-(Complex& c); Complex operator*(Complex& c); Complex operator/(Complex& c); }; #endif