| 查看: 405 | 回复: 2 | ||
[求助]
c++
|
|
#include using namespace std; class Data; class Time {public: Time(int ,int ,int); void display(Data & ;private: int hour ;int minute; int second; }; class Data {public: Data(int ,int, int); friend void Time::dispaly(Data & ;private: int year; int month;int day; }; Time::Time(int h,int m, int s) {hour=h;minute=m;second=s;} void Time:: display(Data& data) {cout< Date: ate(int y ,int mon, int d){year=y;month=mon;day=d;} int main() {Time t1(9,49,30); Date d1(2013,3,1); t1.dispaly(d1); return 0; } 编译时出现这个错误: unexpected end of file while looking for precompiled header directive,看不懂额,请教高手~~~ |
» 猜你喜欢
职称评审没过,求安慰
已经有34人回复
垃圾破二本职称评审标准
已经有17人回复
回收溶剂求助
已经有6人回复
投稿Elsevier的Neoplasia杂志,到最后选publishing options时页面空白,不能完成投稿
已经有22人回复
申请26博士
已经有5人回复
EST投稿状态问题
已经有7人回复
毕业后当辅导员了,天天各种学生超烦
已经有4人回复
聘U V热熔胶研究人员
已经有10人回复
求助文献
已经有3人回复
投稿返修后收到这样的回复,还有希望吗
已经有8人回复
libralibra
至尊木虫 (著名写手)
骠骑将军
- 程序强帖: 40
- 应助: 817 (博后)
- 金币: 12914.1
- 红花: 64
- 帖子: 2238
- 在线: 287.3小时
- 虫号: 696514
- 注册: 2009-02-05
- 专业: 计算机软件

2楼2013-03-01 17:21:13
3楼2013-03-03 12:13:15













;
ate(int y ,int mon, int d)
回复此楼