标题:fatal error C1001: INTERNAL COMPILER ERROR
只看楼主
大葱
Rank: 1
等 级:新手上路
帖 子:19
专家分:0
注 册:2007-12-21
 问题点数:0 回复次数:0 
fatal error C1001: INTERNAL COMPILER ERROR
class RationalNumber {
    int fenzi,fenmu;
public:
    RationalNumber(int zi,int mu);
    void print();
/***********************************************/
//错误出在这儿
    friend RationalNumber&
        operator+ (RationalNumber& left,RationalNumber& right);
    friend RationalNumber&
        operator- (RationalNumber& left,RationalNumber& right);
    friend RationalNumber&
        operator* (RationalNumber& left,RationalNumber& right);
    friend RationalNumber&
        operator/ (RationalNumber& left,RationalNumber& right);
/***************************************/
};

帮帮忙啊
搜索更多相关主题的帖子: COMPILER amp ERROR error INTERNAL 
2008-05-22 00:29



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




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

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