摘要: #include <windows.h>#include <stdio.h> int main(){ LPSTR szDirPath = "测试"; if (!CreateDirectory(szDirPath,//路径或目录名 NULL)) { printf("创建目录 %s 错误。\n", sz 阅读全文
posted @ 2016-05-19 11:05 mousemin 阅读(211) 评论(0) 推荐(0) 编辑
摘要: #include <windows.h>#include <stdio.h> /* 功能: 获取文件大小 读取文件内容,并以十六进制的形式打印 参数: LPSTR szFilePath 文件路径*/ DWORD ReadFileContent(LPSTR szFilePath){ HANDLE hF 阅读全文
posted @ 2016-05-19 10:51 mousemin 阅读(211) 评论(0) 推荐(0) 编辑