Compile Error
/in/foo.cc: In function 'int main()': /in/foo.cc:9:7: error: expected ';' before 't1' time t1,t2; ^~ /in/foo.cc:9:12: warning: statement is a reference, not call, to function 'time' [-Waddress] time t1,t2; ^ /in/foo.cc:9:12: warning: statement has no effect [-Wunused-value] /in/foo.cc:11:7: error: 't1' was not declared in this scope cin>>t1.h>>t1.m>>t1.s; ^~ /in/foo.cc:12:7: error: 't2' was not declared in this scope cin>>t2.h>>t2.m>>t2.s; ^~
信息
- 递交者
- 类型
- 递交
- 题目
- P1001 OO1-2 时间类Time
- 比赛
- 《面向对象的程序设计方法》的课程测验
- 语言
- C++
- 递交时间
- 2021-06-22 11:35:51
- 评测时间
- 2021-06-22 11:35:51
- 评测机
- 分数
- 0
- 总耗时
- 0ms
- 峰值内存
- 0 Bytes