| 查看: 433 | 回复: 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,看不懂额,请教高手~~~ |
» 猜你喜欢
一志愿安徽大学0817化学工程与技术,求调剂
已经有12人回复
求材料调剂,一志愿郑州大学289分
已经有3人回复
265求调剂
已经有9人回复
085600材料与化工调剂
已经有20人回复
专硕 351 086100 也是考的材科基 本科也是材料
已经有6人回复
085600专硕材料与化工348分求调剂
已经有10人回复
085600 295分求调剂
已经有21人回复
285求调剂
已经有5人回复
一志愿0817化学工程与技术,求调剂
已经有8人回复
271分求调剂学校
已经有3人回复
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)
回复此楼