0_0_38883606_5755.cpp: In function 'void Insert(Node*, char*, char*)':
0_0_38883606_5755.cpp:17:15: error: 'strlen' was not declared in this scope
17 | int len = strlen (str);
| ^~~~~~
0_0_38883606_5755.cpp:2:1: note: 'strlen' is defined in header '<cstring>'; did you forget to '#include <cstring>'?
1 | #include <iostream>
+++ |+#include <cstring>
2 |
0_0_38883606_5755.cpp:40:5: error: 'strcpy' was not declared in this scope
40 | strcpy (ans->str,ch);
| ^~~~~~
0_0_38883606_5755.cpp:40:5: note: 'strcpy' is defined in header '<cstring>'; did you forget to '#include <cstring>'?
0_0_38883606_5755.cpp: In function 'bool Search(Node*, char*, char*)':
0_0_38883606_5755.cpp:45:15: error: 'strlen' was not declared in this scope
45 | int len = strlen (str);
| ^~~~~~
0_0_38883606_5755.cpp:45:15: note: 'strlen' is defined in header '<cstring>'; did you forget to '#include <cstring>'?
0_0_38883606_5755.cpp:61:9: error: 'strcpy' was not declared in this scope
61 | strcpy (ch, ans->str);
| ^~~~~~
0_0_38883606_5755.cpp:61:9: note: 'strcpy' is defined in header '<cstring>'; did you forget to '#include <cstring>'?
0_0_38883606_5755.cpp: In function 'int main()':
0_0_38883606_5755.cpp:80:13: error: 'strcmp' was not declared in this scope
80 | if (strcmp (ch1, "START") == 0)
| ^~~~~~
0_0_38883606_5755.cpp:80:13: note: 'strcmp' is defined in header '<cstring>'; did you forget to '#include <cstring>'?
0_0_38883606_5755.cpp:97:13: error: 'strcmp' was not declared in this scope
97 | if (strcmp (str, "START") == 0)
| ^~~~~~
0_0_38883606_5755.cpp:97:13: note: 'strcmp' is defined in header '<cstring>'; did you forget to '#include <cstring>'?
0_0_38883606_5755.cpp:109:29: error: 'strlen' was not declared in this scope
109 | for (int i = 0; i < strlen (str); i++)
| ^~~~~~
0_0_38883606_5755.cpp:109:29: note: 'strlen' is defined in header '<cstring>'; did you forget to '#include <cstring>'?
|