0_0_32855824_20502.cpp: In constructor 'node::node()':
0_0_32855824_20502.cpp:9:27: error: 'memset' was not declared in this scope
memset(str,0,sizeof(str));
^
0_0_32855824_20502.cpp: In function 'void build(char*, char*)':
0_0_32855824_20502.cpp:17:18: error: 'strlen' was not declared in this scope
int len=strlen(b);
^
0_0_32855824_20502.cpp:27:17: error: 'strcpy' was not declared in this scope
strcpy(p->str,a);//最后一个节点上存进火星文译文
^
0_0_32855824_20502.cpp: In function 'void find(char*)':
0_0_32855824_20502.cpp:32:18: error: 'strlen' was not declared in this scope
int len=strlen(s);
^
0_0_32855824_20502.cpp:44:21: error: 'strcmp' was not declared in this scope
if(strcmp(p->str,"")==0)//如果只有前部分匹配,没匹配到最后则不存在译文输出原文
^
0_0_32855824_20502.cpp: In function 'int main()':
0_0_32855824_20502.cpp:57:20: error: 'strcmp' was not declared in this scope
if(strcmp(a,"END")==0) break;
^
0_0_32855824_20502.cpp:64:22: error: 'strcmp' was not declared in this scope
if(strcmp(str,"END")==0) break;
^
0_0_32855824_20502.cpp:65:20: error: 'strlen' was not declared in this scope
int ll=strlen(str);
^
|