文件操作流程
#include <stdio.h>
#include <stdlib.h>
int main()
{
FILE *fp;
char a,filename[10];
printf("please input the file name :");
gets(filename);
fp =fopen(filename,"w");
printf("input some character (end with !):");
while(a!='!')
...
原创
2020-07-26 10:54:05 ·
241 阅读 ·
0 评论