摘要: 问题引出: //有限的额内存情况怎么干活//索引载入内存,多线程//索引映射为内存 一.载入内存,按行读取进行多线程 定义路径以及其他信息 1 char path[256] = "kaifangX.txt"; 2 char indexpath[256] = "indexkf.txt"; 3 #def 阅读全文
posted @ 2018-02-11 23:21 喵小喵~ 阅读(919) 评论(0) 推荐(0) 编辑
摘要: 1 #include 2 #include 3 #include 4 5 char path[256] = "kaifang.txt"; 6 7 void main() 8 { 9 //路径,读写, 10 HANDLE hfile = CreateFileA(path, GENERIC_READ |... 阅读全文
posted @ 2018-02-11 22:48 喵小喵~ 阅读(199) 评论(0) 推荐(0) 编辑