0_0_39103207_26717.cpp: In function 'int findWordsInTitle(char*, int, int, int)':
0_0_39103207_26717.cpp:62:33: error: 'strcpy' was not declared in this scope
62 | strcpy(art[num].words[k++], tmpstr);
| ^~~~~~
0_0_39103207_26717.cpp:4:1: note: 'strcpy' is defined in header '<cstring>'; did you forget to '#include <cstring>'?
3 | #include <algorithm>
+++ |+#include <cstring>
4 | using namespace std;
0_0_39103207_26717.cpp:66:33: error: 'strcpy' was not declared in this scope
66 | strcpy(queryWords.words[k++] ,tmpstr);
| ^~~~~~
0_0_39103207_26717.cpp:66:33: note: 'strcpy' is defined in header '<cstring>'; did you forget to '#include <cstring>'?
0_0_39103207_26717.cpp: In function 'int compareTwoTitles(Node, Node)':
0_0_39103207_26717.cpp:95:30: error: 'strcmp' was not declared in this scope
95 | if (!strcmp(word.words[i], title.words[j]))
| ^~~~~~
0_0_39103207_26717.cpp:95:30: note: 'strcmp' is defined in header '<cstring>'; did you forget to '#include <cstring>'?
0_0_39103207_26717.cpp: In function 'int main()':
0_0_39103207_26717.cpp:125:17: error: 'memset' was not declared in this scope
125 | memset(&art, 0, sizeof(art));
| ^~~~~~
0_0_39103207_26717.cpp:125:17: note: 'memset' is defined in header '<cstring>'; did you forget to '#include <cstring>'?
0_0_39103207_26717.cpp:132:29: error: 'strlen' was not declared in this scope
132 | n = strlen(art[i].oldStr);
| ^~~~~~
0_0_39103207_26717.cpp:132:29: note: 'strlen' is defined in header '<cstring>'; did you forget to '#include <cstring>'?
|