随笔分类 -  文件

摘要:打开文件关闭文件 文件分为:二进制(dat)和文本文件(txt); 代码: #include<stdio.h> #include<stdlib.h> { FILE *fp; if ((fp=fopen("地址&名字","方式"))==NULL) { printf("cannot open file\ 阅读全文
posted @ 2022-05-09 18:48 xxj112 阅读(54) 评论(0) 推荐(0)