#include<stdio.h>
#include<string.h>
char xx[1][80]={'y','o','u',' ','h','a','v','e',' ','t','h','e',' ','c','o','r','r','e','c','t',' ','r','e','c','o','r','d','.'};
int maxline=1;
void main()
{
int i,righto,j,s,k;
char tem[80];
for(i=0;i<maxline;i++)
for(j=strlen(xx[i])-1;j>=0;j--)
{k=0;
memset(tem,0,80);
if(xx[i][j]=='o')
{righto=j;
for(s=righto+1;s<strlen(xx[i]);s++)
tem[k++]=xx[i][s];
for(s=0;s<righto;s++)
if(xx[i][s]!='o') tem[k++]=xx[i][s];
strcpy(xx[i],tem);
}
}
printf("%s\n",xx[0]);
}
但是不要这句,照样继续啊,有必要这句吗??
慕容3067478
杨魅力
POPMUISE