2012年8月10日
摘要: #include <windows.h>#include <string.h>#include <string>#include <iostream>using namespace std;int main(int argc, char *argv[]){ // 步骤1 打开文件FILE_FLAG_WRITE_THROUGH HANDLE hFile = CreateFile( "demo.txt", GENERIC_WRITE | GENERIC_READ,// 如果要映射文件:此处必设置为只读(GENERIC_READ)或 阅读全文
posted @ 2012-08-10 12:07 kkmm 阅读(5039) 评论(0) 推荐(0) 编辑