0_0_14504098_13234.cpp:1:10: error: #include expects "FILENAME" or <FILENAME>
#include
^
0_0_14504098_13234.cpp:2:10: error: #include expects "FILENAME" or <FILENAME>
#include
^
0_0_14504098_13234.cpp:3:10: error: #include expects "FILENAME" or <FILENAME>
#include
^
0_0_14504098_13234.cpp:4:10: error: #include expects "FILENAME" or <FILENAME>
#include
^
0_0_14504098_13234.cpp: In function 'void Insert(char*)':
0_0_14504098_13234.cpp:15:25: error: 'strlen' was not declared in this scope
int len = strlen(str);
^
0_0_14504098_13234.cpp:18:27: error: 'NULL' was not declared in this scope
if(now->next[id]==NULL) {
^
0_0_14504098_13234.cpp:21:50: error: 'memset' was not declared in this scope
memset(p->next, NULL, sizeof(p->next));
^
0_0_14504098_13234.cpp: In function 'int query(char*)':
0_0_14504098_13234.cpp:32:25: error: 'strlen' was not declared in this scope
int len = strlen(str);
^
0_0_14504098_13234.cpp:35:27: error: 'NULL' was not declared in this scope
if(now->next[id]==NULL) {
^
0_0_14504098_13234.cpp: In function 'int main()':
0_0_14504098_13234.cpp:48:24: error: 'NULL' was not declared in this scope
memset(root->next, NULL, sizeof(root->next));
^
0_0_14504098_13234.cpp:48:48: error: 'memset' was not declared in this scope
memset(root->next, NULL, sizeof(root->next));
^
0_0_14504098_13234.cpp:50:19: error: 'gets' was not declared in this scope
while(gets(str) && str[0]) Insert(str);
^
0_0_14504098_13234.cpp:51:19: error: 'gets' was not declared in this scope
while(gets(str)) {
^
0_0_14504098_13234.cpp:53:27: error: 'printf' was not declared in this scope
printf("%d\n", res);
^
|