摘要: char const* filename="D:/hello.txt"; 路径名使用的是“/”或者使用 转义字符“\\”; "fopen", FILE *fp=fopen(char const *name,char const mode); e.g:FILE *fp = fopen(filename 阅读全文
posted @ 2017-09-17 22:37 唯一诺 阅读(518) 评论(0) 推荐(0)
摘要: filename=c:/test/abc.text filename=c:\\test\\abc.test "\\"为转义字符; feof();函数检测文件是否已经到达末尾(EOF); 阅读全文
posted @ 2017-09-17 08:33 唯一诺 阅读(233) 评论(0) 推荐(0)