#ifndef COMPLEXT_H #define COMPLEXT_H class ComplexT { public: ComplexT(); void Real(float r); void Imag(float i); void Both(float r, float i); float Real(void) const; float Imag(void) const; ComplexT operator +(const ComplexT & other) const; private: float real; float imag; }; #endif // COMPLEXT_H