常用的打开文件的方法【转】

    if((fp=fopen("file1", "r"))==NULL)
    {
        printf("Cannot open this file!\n");
        exit(0);
    }

 

posted @ 2014-03-26 20:50  龙格泽月  阅读(137)  评论(0)    收藏  举报