Input and Output Operators for complex

The complex class defines input and output operators for I/O Stream Library input and output:

Complex numbers are written to the output stream in the format (real,imag). Complex numbers are read from the input stream in one of two formats: (real,imag) or real.