Compile Error
foo.cc: In function 'int Init(char*, int*)': foo.cc:9:17: error: 'strlen' was not declared in this scope 9 | int n = strlen(s); | ^~~~~~ foo.cc:3:1: note: 'strlen' is defined in header '<cstring>'; did you forget to '#include <cstring>'? 2 | #include <string> +++ |+#include <cstring> 3 | using namespace std;
[Hydro](https://hydro.ac)提供评测服务
信息
- 递交者
- 类型
- 递交
- 比赛
- 2023 程序设计与竞赛(作业7:最初的综合)
- 语言
- C++
- 递交时间
- 2023-11-11 21:15:21
- 评测时间
- 2023-11-11 21:15:21
- 评测机
- 分数
- 0
- 总耗时
- 0ms
- 峰值内存
- 0 Bytes