0_0_37582776_23671.cpp: In function 'void createTrie(char*)':
0_0_37582776_23671.cpp:15:18: error: 'inext' was not declared in this scope
for(int i=0; inext[id] == NULL)
^
0_0_37582776_23671.cpp:15:24: error: 'id' was not declared in this scope
for(int i=0; inext[id] == NULL)
^
0_0_37582776_23671.cpp:15:35: error: expected ';' before ')' token
for(int i=0; inext[id] == NULL)
^
0_0_37582776_23671.cpp:24:9: error: 'else' without a previous 'if'
else
^
0_0_37582776_23671.cpp:26:21: error: 'id' was not declared in this scope
p->next[id]->v++;
^
0_0_37582776_23671.cpp: At global scope:
0_0_37582776_23671.cpp:30:5: error: 'p' does not name a type
p->v = -1;
^
0_0_37582776_23671.cpp:31:1: error: expected declaration before '}' token
}
^
|