0_0_38838414_623.cpp: In function 'int find(char, char*)':
0_0_38838414_623.cpp:14:29: error: 'strlen' was not declared in this scope
14 | for (int i = 0; i < strlen(str); i++)
| ^~~~~~
0_0_38838414_623.cpp:2:1: note: 'strlen' is defined in header '<cstring>'; did you forget to '#include <cstring>'?
1 | #include<iostream>
+++ |+#include <cstring>
2 | #include<string>
0_0_38838414_623.cpp:19:16: error: 'strlen' was not declared in this scope
19 | return strlen(str);//如果没有查找到,那么就代表其是整数,直接返回整个位数
| ^~~~~~
0_0_38838414_623.cpp:19:16: note: 'strlen' is defined in header '<cstring>'; did you forget to '#include <cstring>'?
0_0_38838414_623.cpp: In function 'void trans(Bint&, char*)':
0_0_38838414_623.cpp:39:9: error: 'memset' was not declared in this scope
39 | memset(a.num, 0, sizeof(a.num));//初始化a.num[]
| ^~~~~~
0_0_38838414_623.cpp:39:9: note: 'memset' is defined in header '<cstring>'; did you forget to '#include <cstring>'?
0_0_38838414_623.cpp:40:19: error: 'strlen' was not declared in this scope
40 | int len = strlen(str);//记录总长度位数
| ^~~~~~
0_0_38838414_623.cpp:40:19: note: 'strlen' is defined in header '<cstring>'; did you forget to '#include <cstring>'?
0_0_38838414_623.cpp: In function 'Bint mul(Bint, Bint)':
0_0_38838414_623.cpp:66:9: error: 'memset' was not declared in this scope
66 | memset(m.num, 0, sizeof(m.num));
| ^~~~~~
0_0_38838414_623.cpp:66:9: note: 'memset' is defined in header '<cstring>'; did you forget to '#include <cstring>'?
|