您的当前位置:首页C语言——fclose用法

C语言——fclose用法

来源:小侦探旅游网
#include<stdio.h>
int main(void){
    FILE * flie
    file = fopen("user.txt","a");
    if (! file){
        printf("文件打开失败!");
    } 
    fputs("\n刘备  abc123",file);
    system("pause");
    fclose(file);             
    printf("文件已经关闭");
    system("pause");
    return 0; 
}

因篇幅问题不能全部显示,请点此查看更多更全内容