| 查看: 443 | 回复: 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,看不懂额,请教高手~~~ |
» 猜你喜欢
青B发送上会通知了吗
已经有10人回复
化学专业申博
已经有5人回复
招收2026级博士生
已经有5人回复
宿州学院学报
已经有3人回复
4,4二甲基联苯干啥用,有懂得吗
已经有3人回复
医学类期刊求推荐
已经有6人回复
26/27申博自荐
已经有10人回复
生活琐事由它去
已经有4人回复
提交了我也来说说感想
已经有12人回复
西安交大新媒学院副院长用撤稿论文结题
已经有6人回复
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)
回复此楼