[求助]一个问题
将1个文件复制到另一个文件,排除a,an,the.void main()
{
FILE *fp1,*fp2;
char *ch;
char p[80],p2[80];
if((fp1=fopen("abc","w+b"))==NULL)
{
printf("cannot open file");
exit(1);
}
if((fp2=fopen("xyz","w+b"))==NULL)
{
printf("cannot open file");
exit(1);
}
printf("enter sentence\n");
ch=gets(p);
后面没有思路啊。
[此贴子已经被作者于2005-10-30 14:04:02编辑过]