| 网站首页 | 业界新闻 | 小组 | 威客 | 人才 | 下载频道 | 博客 | 代码贴 | 在线编程 | 编程论坛
欢迎加入我们,一同切磋技术
用户名:   
 
密 码:  
共有 704 人关注过本帖
标题:大家帮我看看什么地方出错了?
只看楼主 加入收藏
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
快速回复:大家帮我看看什么地方出错了?
数据加载中...
 
   



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

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