Compile Error
/in/foo.cc:3:6: warning: ISO C++ forbids declaration of 'main' with no type [-Wreturn-type] main() ^ /in/foo.cc: In function 'int main()': /in/foo.cc:10:14: error: 'getch' was not declared in this scope flag=getch(); ^~~~~ /in/foo.cc:10:14: note: suggested alternative: 'getc' flag=getch(); ^~~~~ getc /in/foo.cc:13:13: error: 'exit' was not declared in this scope exit(); ^~~~
信息
- 递交者
- 类型
- 递交
- 题目
- 温度转化
- 语言
- C++
- 递交时间
- 2018-10-28 16:57:48
- 评测时间
- 2018-10-28 16:57:48
- 评测机
- 分数
- 0
- 总耗时
- 17ms
- 峰值内存
- 3.543 MiB