0_0_32544829_28304.cpp: In function 'char* judgement(char*)':
0_0_32544829_28304.cpp:29:8: error: expected unqualified-id before 'new'
char* new = (char*)malloc(sizeof(char) * len + 1);
^
0_0_32544829_28304.cpp:29:8: error: expected initializer before 'new'
0_0_32544829_28304.cpp:38:6: error: expected type-specifier before '[' token
new[i] = cliper[i];
^
0_0_32544829_28304.cpp:40:5: error: expected type-specifier before '[' token
new[len] = '\0';
^
0_0_32544829_28304.cpp:41:12: error: expected type-specifier before ';' token
return new;
^
|