There seems to be a difference between the way complex numbers are handled in GCC and MS Visual C++. In GCC I can access the imaginary and real parts of a number by typing imag(variable) and real(variable) respectively. Is there a similar operation for Visual C++? I can't seem to figure it out. Are complex numbers part of ANSI C++?