/** * Review this code and point out poor-style and real errors * ( Taken from Item 20 of Exceptional C++, H.Sutter ) */ class Complex { public: Complex( double real, double imaginary = 0 ) : _real(real), _imaginary(imaginary) { } void operator+ ( Complex other ) { _real = _real + other._real; _imaginary = _imaginary + other._imaginary; } void operator<<( ostream os ) { os << "(" << _real << "," << _imaginary << ")"; } Complex operator++() { ++_real; return *this; } Complex operator++( int ) { Complex temp = *this; ++_real; return temp; } private: double _real, _imaginary; };