0_0_17419739_30316.cpp:2:5: error: stray '#' in program
2 #include <string.h>
^
0_0_17419739_30316.cpp:3:5: error: stray '#' in program
3 #include <ctype.h>
^
0_0_17419739_30316.cpp:5:5: error: stray '#' in program
5 #define TC 26
^
0_0_17419739_30316.cpp:6:5: error: stray '#' in program
6 #define TM 400000
^
0_0_17419739_30316.cpp:7:5: error: stray '#' in program
7 #define LEN 122
^
0_0_17419739_30316.cpp:8:5: error: stray '#' in program
8 #define LIM 90000
^
0_0_17419739_30316.cpp:2:3: error: expected unqualified-id before numeric constant
2 #include <string.h>
^
0_0_17419739_30316.cpp:11:2: error: expected unqualified-id before numeric constant
11 char buf[ LIM ][ LEN ];
^
0_0_17419739_30316.cpp:12:2: error: expected unqualified-id before numeric constant
12
^
0_0_17419739_30316.cpp:19:2: error: expected unqualified-id before numeric constant
19 typedef struct _Trie Trie;
^
0_0_17419739_30316.cpp:20:2: error: expected unqualified-id before numeric constant
20
^
0_0_17419739_30316.cpp:23:2: error: 'Trie' does not name a type
Trie triemem[ TM ];
^
0_0_17419739_30316.cpp: In function 'void trie_init()':
0_0_17419739_30316.cpp:27:10: error: 'root' was not declared in this scope
root = NULL;
^
0_0_17419739_30316.cpp: At global scope:
0_0_17419739_30316.cpp:31:3: error: 'Trie' does not name a type
Trie* trie_new() {
^
0_0_17419739_30316.cpp: In function 'void getValue(char*)':
0_0_17419739_30316.cpp:60:35: error: 'isprint' was not declared in this scope
} while ( (!isprint( ch )) || (ch=='=') || (ch==' ') || (ch=='\n') || (ch=='\t') );
^
0_0_17419739_30316.cpp: At global scope:
0_0_17419739_30316.cpp:76:20: error: variable or field 'trie_insert' declared void
void trie_insert( Trie **pRoot, char *str, char *pData ) {
^
0_0_17419739_30316.cpp:76:20: error: 'Trie' was not declared in this scope
0_0_17419739_30316.cpp:76:27: error: 'pRoot' was not declared in this scope
void trie_insert( Trie **pRoot, char *str, char *pData ) {
^
0_0_17419739_30316.cpp:76:34: error: expected primary-expression before 'char'
void trie_insert( Trie **pRoot, char *str, char *pData ) {
^
0_0_17419739_30316.cpp:76:45: error: expected primary-expression before 'char'
void trie_insert( Trie **pRoot, char *str, char *pData ) {
^
|