急啊,我现在在考场上啊
#include"stdio.h"
#include"string.h"
void delspace();
main()
{ char s[81]="a b c d e f g";
delspace(s[]);
puts();
getch();
)
void delspace(char*str)
{ int i,t;
char ts[81];
for(i=0,t=0;str[i]!='\0';i++)
if(isspace(*(str+i))
ts[t++]=str[i];
ts[t]='\0';
strcpy(*str,ts);
getch();
}
有三个错,那个高手指点下啊!!!!!!!!!!