谁来帮我吧FOR改成while
程序代码:for(i=0;(c=str[i])!='\0';i++)
if(c==' ')word=0;
else if(word==0)
{
word=1;
num++;
}
printf("There are %d words in the line.\n",num);谁来帮我吧FOR改成while
程序代码:for(i=0;(c=str[i])!='\0';i++)
if(c==' ')word=0;
else if(word==0)
{
word=1;
num++;
}
printf("There are %d words in the line.\n",num);谁来帮我吧FOR改成while
2010-07-25 14:41
2010-07-25 15:00
2010-07-25 15:05
2010-07-26 02:15
2010-07-26 14:30