Open a File : File Open « File « C Tutorial






#include<stdio.h>

void main(){
    FILE *fp;

    fp = fopen("test","a");
    fprintf(fp,"%d %s %d\n",1,"asdfasdf",2);

    fclose(fp) ;
}








13.1.File Open
13.1.1.Open a File