#ifndef COMPLEX_H #define COMPLEX_H class complex{ private: double x,y; public: complex():x(0),y(0){} complex(double a, double b):x(a),y(b){} complex operator+ (const complex& v1, const complex& v2); complex operator* (const complex& v1, const complex& v2); void SetX(double r) { x=r; }; void SetY(double r) { y=r; }; }; #endif