65,211
社区成员
发帖
与我相关
我的任务
分享
// T.c
#include <stdio.h>
int main(int argc, char *argv[])
{
int c;
FILE *fstream = NULL;
if((fstream=fopen("T.c","r"))== NULL)
{
printf("file was not opened");
return 0;
}
for(c=fgetc(fstream);c != EOF;putchar(c),c=fgetc(fstream));
}