#include <stdio.h>
int main()
{
FILE *fp = NULL;
fp = fopen("./test.txt", "w+");
fprintf(fp, "This is testing...\n");
fputs("This is testing...\n", fp);
fclose(fp);
return 0;
}
C语言文件读写的基本流程
最新推荐文章于 2022-11-10 18:12:53 发布