void charNumprintf(int k[],int x[])
{
for (int i =0; i < 4;i++) {
for (int j =0; j < 4; j++) {
if(x[i] == k[j])
{
printf("字母%c出现的次数是%d\n",'A'+j,x[i]);
}
}
}
}
可是为什么会报错这个东西:
Undefined symbols for architecture x86_64:
"_compare4", referenced from:
_main in ceshi-d1d433.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)