//定义文件输出流
 FILE *f;
 f = fopen("a.csv" , "wb");
 fprintf(f,"aaa,23,sdf\n");
 fprintf(f,"bbb,,345,,2sdf\n");
 fclose(f);

05-11 22:12