Что-то вроде этого должно дать вам основную идею:
class complex
{
public:
double real;
double imag;
complex(double real, double imag): real(real), imag(imag) {};
complex operator+(complex c) { return complex(this->real+c.real, this->imag+c.imag); };
};
int main(int argc, char* argv[])
{
complex a(1,2);
complex b(-3,6);
complex c = a+b;
return 0;
}