main()
{ char s[81],*t,*f;
printf("Enter a string:\n");gets(s);
t=f=s;
while(*t) t++;
t--;
while (*t=='*') t--;
while (*f=='*') f++;
fun(s,f,t);
printf("The string after deleted:\n");puts(s);
這 while(*t=='*') t--; while (*f=='*') f++;這兩句怎麼理解
while(*t) t++; 在這裡你他指針t已經移到了最後一位了;所以
while(*t=='*') t--;是指針從後往前移 while (*f=='*') f++;指針從前往後移