0_0_21594890_13351.cpp:27:29: error: stray '#' in program
for(int i = 0; s[i] != '\0'; i++)
^
0_0_21594890_13351.cpp:27:5: error: stray '\' in program
for(int i = 0; s[i] != '\0'; i++)
^
0_0_21594890_13351.cpp:27:36: error: stray '#' in program
for(int i = 0; s[i] != '\0'; i++)
^
0_0_21594890_13351.cpp:29:27: error: stray '#' in program
int idx = s[i] - 'A';
^
0_0_21594890_13351.cpp:29:33: error: stray '#' in program
int idx = s[i] - 'A';
^
0_0_21594890_13351.cpp:74:30: error: stray '#' in program
int idx = text[i] - 'A';
^
0_0_21594890_13351.cpp:74:36: error: stray '#' in program
int idx = text[i] - 'A';
^
0_0_21594890_13351.cpp: In function 'void Insert(node*, char*, int)':
0_0_21594890_13351.cpp:27:30: error: lvalue required as unary '&' operand
for(int i = 0; s[i] != '\0'; i++)
^
0_0_21594890_13351.cpp:27:39: error: expected ')' before ';' token
for(int i = 0; s[i] != '\0'; i++)
^
0_0_21594890_13351.cpp:27:42: error: 'i' was not declared in this scope
for(int i = 0; s[i] != '\0'; i++)
^
0_0_21594890_13351.cpp: In function 'bool Query(node*)':
0_0_21594890_13351.cpp:74:31: error: lvalue required as unary '&' operand
int idx = text[i] - 'A';
^
0_0_21594890_13351.cpp:74:34: error: 'A' was not declared in this scope
int idx = text[i] - 'A';
^
|