0_0_38838628_10626.cpp: In function 'int main()':
0_0_38838628_10626.cpp:12:14: error: aggregate 'Bint a' has incomplete type and cannot be defined
12 | Bint a, s;
| ^
0_0_38838628_10626.cpp:12:17: error: aggregate 'Bint s' has incomplete type and cannot be defined
12 | Bint a, s;
| ^
0_0_38838628_10626.cpp: In function 'void trans(Bint&, char*)':
0_0_38838628_10626.cpp:36:9: error: 'memset' was not declared in this scope
36 | memset(a.num, 0, sizeof(a.num));
| ^~~~~~
0_0_38838628_10626.cpp:2:1: note: 'memset' is defined in header '<cstring>'; did you forget to '#include <cstring>'?
1 | #include<iostream>
+++ |+#include <cstring>
2 | #include<string>
0_0_38838628_10626.cpp:37:21: error: 'strlen' was not declared in this scope
37 | int lenth = strlen(str);
| ^~~~~~
0_0_38838628_10626.cpp:37:21: note: 'strlen' is defined in header '<cstring>'; did you forget to '#include <cstring>'?
0_0_38838628_10626.cpp: In function 'int find(char, char*)':
0_0_38838628_10626.cpp:60:21: error: 'strlen' was not declared in this scope
60 | int lenth = strlen(str);
| ^~~~~~
0_0_38838628_10626.cpp:60:21: note: 'strlen' is defined in header '<cstring>'; did you forget to '#include <cstring>'?
0_0_38838628_10626.cpp: In function 'Bint mul(Bint, Bint)':
0_0_38838628_10626.cpp:72:9: error: 'memset' was not declared in this scope
72 | memset(m.num, 0, sizeof(m.num));
| ^~~~~~
0_0_38838628_10626.cpp:72:9: note: 'memset' is defined in header '<cstring>'; did you forget to '#include <cstring>'?
|