C\C++中 fopen中文件打开方式的区别:
摘要:
在C语言中,大家常用到fopen打开文件,准备进行写操作,再用fwrite把数据写入文件,最后用fclose关闭文件。 如以下C代码: #include <stdio.h> char buf[10] = {10,10,10,10,10,10,10,10,10,10}; FILE *fp = fope 阅读全文
posted @ 2017-10-20 14:36 怀想天空2013 阅读(22237) 评论(0) 推荐(0) 编辑