void shan_0(char tibu_b1[])
{
int i = 0;
int len2 = my_strlen(tibu_b1);
for(i=0;i<len2;i++)
{
if(tibu_b1[i] == ' ')
{
tibu_b1[i] = tibu_b1[i+1];
for(int j=i+1;j<len2;j++)
{
tibu_b1[j] = tibu_b1[j+1];
}
}
}
return;
}
c语言8天
最新推荐文章于 2024-09-08 06:13:57 发布