标题:大家帮我看看什么地方出错了?
只看楼主
yanyananlin
Rank: 1
等 级:新手上路
帖 子:41
专家分:0
注 册:2007-10-21
 问题点数:0 回复次数:3 
大家帮我看看什么地方出错了?
#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)
搜索更多相关主题的帖子: Complex private complex include public 
2007-12-06 12:08
yanyananlin
Rank: 1
等 级:新手上路
帖 子:41
专家分:0
注 册:2007-10-21
得分:0 
大家帮我看看啊,谢谢了~
2007-12-08 19:49
huaruta
Rank: 1
等 级:新手上路
帖 子:17
专家分:0
注 册:2007-9-21
得分:0 
你试试把你的编译器关闭工作组然后在打开你的程序编译,编译的错误是你的内部编译问题。
2007-12-08 22:14
yanyananlin
Rank: 1
等 级:新手上路
帖 子:41
专家分:0
注 册:2007-10-21
得分:0 
哦,谢谢了
2007-12-09 17:12



参与讨论请移步原网站贴子:https://bbs.bccn.net/thread-190729-1-1.html




关于我们 | 广告合作 | 编程中国 | 清除Cookies | TOP | 手机版

编程中国 版权所有,并保留所有权利。
Powered by Discuz, Processed in 0.308110 second(s), 8 queries.
Copyright©2004-2024, BCCN.NET, All Rights Reserved