Compile Error
/in/foo.cc: In constructor 'A::A(char*, int, int)': /in/foo.cc:15:26: error: 'strcpy' was not declared in this scope strcpy(this->Name, Name); ^ /in/foo.cc: In member function 'void A::set(char*, int, int)': /in/foo.cc:24:27: error: 'strcpy' was not declared in this scope strcpy(this->Name, Name1); ^ /in/foo.cc: In function 'int main()': /in/foo.cc:57:18: warning: ISO C++ forbids converting a string constant to 'char*' [-Wwrite-strings] A x("Noname",0,0); ^
信息
- 递交者
- 类型
- 递交
- 题目
- P1154 谁拿了最多奖学金
- 语言
- C++
- 递交时间
- 2020-08-04 12:19:56
- 评测时间
- 2020-08-04 12:19:56
- 评测机
- 分数
- 0
- 总耗时
- 0ms
- 峰值内存
- 0 Bytes