0_0_13894566_19449.cpp:6:18: error: size of array 'next' has non-integral type '<unresolved overloaded function type>'
Trie *next[max];
^
0_0_13894566_19449.cpp: In function 'void createTrie(char*)':
0_0_13894566_19449.cpp:13:15: error: cannot convert 'Trie' to 'Trie*' in initialization
Trie *p = root, *q;
^
0_0_13894566_19449.cpp: In function 'int findTrie(char*)':
0_0_13894566_19449.cpp:37:15: error: cannot convert 'Trie' to 'Trie*' in initialization
Trie *p = root;
^
0_0_13894566_19449.cpp: In function 'int main()':
0_0_13894566_19449.cpp:57:8: error: 'a' was not declared in this scope
memset(a,0,sizeof(str));
^
|