0_0_18316190_30506.cpp: In function 'void Fun(char*, int*, int&)':
0_0_18316190_30506.cpp:7:18: error: 'strlen' was not declared in this scope
int len=strlen(a);
^
0_0_18316190_30506.cpp: In function 'int main()':
0_0_18316190_30506.cpp:24:21: error: 'memset' was not declared in this scope
memset(v,0,sizeof(v));
^
0_0_18316190_30506.cpp:29:14: error: 'strlen' was not declared in this scope
v[x]=strlen(a);//默认最后一个
^
|