121 D:\C\C\C\coder.cpp expected primary-expression before "void"
发布网友
发布时间:2022-04-21 01:45
我来回答
共1个回答
热心网友
时间:2022-04-21 03:14
这样试试,应该可以通过编译
void end_print(char code[100])
{
char w[][5]={{'.','-'},{'-','.','.','.'},{'-','.','-','.'},{'-','.','.'},{'.'},{'.','.','-','.'},{'-','-','.'},
{'.','.','.','.'},{'.','.'},{'.','-','-','-'},{'-','.','-'},{'.','-','.','.'},{'-','-'},{'-','.'},{'-','-','-'},
{'.','-','-','.'},{'-','-','.','-'},{'.','-','.'},{'.','.','.'},{'-'},{'.','.','-'},{'.','.','.','-'},{'.','-','-'},
{'-','.','.','-'},{'-','.','-','-'},{'-','-','.','.'},{'.','.','-','-'},{'.','-','.','-'},{'-','-','-','.'},{'-','-','-','-'}};
char letters[]={'A','B'};
char M[100];
for(int i=0;number[count_L-1];i++)
M[i]=code[i];
void loop_p();
}
void loop_p()
{
int i=0;
int a=0;
if(M[i]==w[a][i])
i++;
else {a++;loop_p();}
printf("%c",letters[a]);
}