I am having conflicts compiling with the built in complex class and ostream definitions. The errors are all of the type:
: error C2371: 'ostream' : redefinition; different basic types
: error C2784: ...
Here is a sample of how the code is set up and results in the same type errors that I am getting ( under a Win32 console application in MS VC++ version 5.0:
using namespace std;
void main( void )
complex<double> temp(1.0, -1.0);
cout << "Test " << temp.real() << '\t' << temp.imag()
Thanks for any assistance.