Compile Error
foo.cpp: In function 'int main()': foo.cpp:6:5: warning: 'auto' changes meaning in C++11; please remove it [-Wc++0x-compat] auto c = a + b; ^ foo.cpp:6:10: error: 'c' does not name a type auto c = a + b; ^ foo.cpp:7:20: error: 'c' was not declared in this scope printf("%d\n", c); ^
信息
- 递交者
- 类型
- 递交
- 题目
- P1000 A+B Problem
- 语言
- C++
- 递交时间
- 2015-01-18 10:24:14
- 评测时间
- 2015-01-18 10:24:15
- 评测机
- 分数
- 0
- 总耗时
- 0ms
- 峰值内存
- 0 Bytes