发现哎。。。以前没用过这两句
#include<stdio.h> #include<ctype.h>
#include<process.h>
int main()
{
char ch;
FILE *fp1,*fp2;
if((fp1=fopen("C:\\TC\\BIN\\w.txt","r"))!=NULL)
{printf("File open error!\n");exit(0);}
if((fp2=fopen("C:\\TC\\BIN\\www.txt","w"))!=NULL)
{printf("File open error!\n");exit(0);}
while((ch=fgetc(fp1))!=EOF)
{
fputc(ch,fp2);
isalpha(ch);
islower(ch);
}
fclose(fp1);
fclose(fp2);
return 0;}
红的那两句是什么意思?