Compile Error
/in/foo.cc: In function 'int main()': /in/foo.cc:37:7: error: expected ';' before 't1' time t1(hour,minute,second); ^~ /in/foo.cc:37:29: warning: statement is a reference, not call, to function 'time' [-Waddress] time t1(hour,minute,second); ^ /in/foo.cc:37:29: warning: statement has no effect [-Wunused-value] /in/foo.cc:39:2: error: 't1' was not declared in this scope t1.add(addsecond); ^~
信息
- 递交者
- 类型
- 递交
- 题目
- P1000 OO1-1 时间类Time
- 语言
- C++
- 递交时间
- 2019-04-27 09:42:27
- 评测时间
- 2019-04-27 09:42:27
- 评测机
- 分数
- 0
- 总耗时
- 0ms
- 峰值内存
- 0 Bytes