摘要: 在保存文件时,会出现和保存文件名同名的文件,一般情况下会在新建的文件后面加上序号后,如test(1).dat, test(2).dat 下面用一种比较笨的方法来实现: 1 // #include <sys/io.h> 2 #include <dirent.h> 3 #include <string. 阅读全文
posted @ 2021-04-23 11:16 朱果果 阅读(877) 评论(0) 推荐(0) 编辑