#include<stdio.h>
main()
{
char s[50];
char ch;
FILE *p;
p=fopen("E:\\Test.txt","r");
while((ch=fgetc(p))!=EOF)
{
printf("%c",ch);
}
fclose(p);
}
main()
{
char s[50];
char ch;
FILE *p;
p=fopen("E:\\Test.txt","r");
while((ch=fgetc(p))!=EOF)
{
printf("%c",ch);
}
fclose(p);
}
0 Comments