Compile Error
/in/foo.cc: In function 'int main()': /in/foo.cc:9:18: error: 'itoa' was not declared in this scope itoa (j, str, 10); //j为int,str为char ^ /in/foo.cc:10:12: warning: comparison with string literal results in unspecified behavior [-Waddress] if(str == "X"){ ^~~ /in/foo.cc:25:6: error: expected ';' before 'j' j j=sum%11; ^ /in/foo.cc:25:14: warning: statement has no effect [-Wunused-value] j j=sum%11; ^
信息
- 递交者
- 类型
- 递交
- 题目
- P1158 ISBN号码
- 语言
- C++
- 递交时间
- 2021-01-02 21:44:04
- 评测时间
- 2021-01-02 21:44:04
- 评测机
- 分数
- 0
- 总耗时
- 0ms
- 峰值内存
- 0 Bytes