MFC
一反三
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
VC中判断目录,文件是否存在,创建目录的方法
目录是否存在的检查: BOOL FolderExist(CString strPath) { WIN32_FIND_DATA wfd; BOOL rValue = FALSE; HANDLE hFind = FindFirstFile(strPath, &wfd); if ((hFind != INVAL转载 2012-04-18 15:55:18 · 371 阅读 · 0 评论 -
MFC程序中如何创建多级目录
创建多级目录函数 BOOL mkdirEx(const char* lpPath) { CString pathname = lpPath; if(pathname.Right(1) != "\\") pathname += "\\" ; int end = pathname.ReverseFind('\\'转载 2012-04-18 16:06:23 · 582 阅读 · 0 评论
分享