大家帮我看看什么地方出错了?
#ifndef Complex_H#define Complex_H
#include <iostream>
using namespace std;
class Complex
{ friend Complex &operator +(const double &,const Complex &);
public: Complex(double=0,double=0);
SetComplex(double,double);
PrintComplex();
Complex operator + (const Complex &);
Complex operator + (const double &);
private: double realpart;
double imaginarypart;
};
#endif
--------------------Configuration: complex - Win32 Debug--------------------
Compiling...
complex.cpp
e:\program files\msdev98\my project\安林\complex\complex.h(6) : fatal error C1001: INTERNAL COMPILER ERROR
(compiler file 'msc1.cpp', line 1786)
Please choose the Technical Support command on the Visual C++
Help menu, or open the Technical Support help file for more information
执行 cl.exe 时出错.
complex.exe - 1 error(s), 0 warning(s)