#include #include using namespace std; #include "complex.h" complex operator+(complex a, complex b) { return complex(a.real() + b.real(), a.imag() + b.imag()); } ostream & operator <<(ostream & os, complex c) { os << '(' << c.real() << ", " << c.imag() << ')'; return os; }