#include#include main(){ FILE *fp; char c; fp=fopen("lhsbqb.txt","w"); if(fp==NULL){printf("file open faild!");exit(0);} for(c='a';c<='z';c++) { fputc(c,fp); } fclose(fp); printf("字每添加完成"); getchar();}
转摘
本文共 351 字,大约阅读时间需要 1 分钟。
#include#include main(){ FILE *fp; char c; fp=fopen("lhsbqb.txt","w"); if(fp==NULL){printf("file open faild!");exit(0);} for(c='a';c<='z';c++) { fputc(c,fp); } fclose(fp); printf("字每添加完成"); getchar();}
转摘
转载于:https://www.cnblogs.com/pythonschool/archive/2012/10/18/2729293.html