0_0_13804079_32301.cpp:1:9: error: #include expects "FILENAME" or <FILENAME>
#include
^
0_0_13804079_32301.cpp:2:9: error: #include expects "FILENAME" or <FILENAME>
#include
^
0_0_13804079_32301.cpp:3:9: error: #include expects "FILENAME" or <FILENAME>
#include
^
0_0_13804079_32301.cpp:4:9: error: #include expects "FILENAME" or <FILENAME>
#include
^
0_0_13804079_32301.cpp: In function 'void createTrie(char*, int)':
0_0_13804079_32301.cpp:22:21: error: 'strlen' was not declared in this scope
int len=strlen(s),pos;
^
0_0_13804079_32301.cpp:23:17: error: 'inext' was not declared in this scope
for(int i=0;inext[pos]==NULL){
^
0_0_13804079_32301.cpp:23:23: error: 'pos' was not declared in this scope
for(int i=0;inext[pos]==NULL){
^
0_0_13804079_32301.cpp:23:29: error: 'NULL' was not declared in this scope
for(int i=0;inext[pos]==NULL){
^
0_0_13804079_32301.cpp:23:33: error: expected ';' before ')' token
for(int i=0;inext[pos]==NULL){
^
0_0_13804079_32301.cpp:27:29: error: 'knext' was not declared in this scope
for(int k=0;knext[k]=NULL;
^
0_0_13804079_32301.cpp:28:31: error: expected ')' before ';' token
p->next[pos]=q;
^
0_0_13804079_32301.cpp:31:13: error: 'else' without a previous 'if'
else if(p->next[pos]->first==pose){
^
0_0_13804079_32301.cpp:31:29: error: 'pos' was not declared in this scope
else if(p->next[pos]->first==pose){
^
0_0_13804079_32301.cpp: At global scope:
0_0_13804079_32301.cpp:40:5: error: expected declaration before '}' token
}
^
|