摘要: 记录一下: 阅读全文
posted @ 2012-04-18 17:52 kcy-666 阅读(759) 评论(0) 推荐(0) 编辑
摘要: 昨天晚上写了一个测试读写文件速度的测试程序,一直调试错误,说的空指针访问。 先上源代码: #include "stdafx.h"#include <iostream>using namespace std;#include "CStopwatch.h"const int BUFFER_SIZE = 8 * 1024;int _tmain(int argc, _TCHAR* argv[]){ char szBuffer[BUFFER_SIZE]; HANDLE hFile = ::CreateFile(_T("E:\\安装文件\\vs 阅读全文
posted @ 2012-04-18 10:32 kcy-666 阅读(2267) 评论(0) 推荐(0) 编辑