C++文件操做——查找文件夹及文件是否存在的方法

1、查找文件夹是否存在的方法windows (1).采用PathIsDirectory函数进行判断函数 if (!PathIsDirectory(strLogPath)) { CreateDirectory(strLogPath,0); }(2)利用FindFirstFile函数进行判断 WIN32_FIND_DATA wfd; HANDLE hFind = FindFirstFile(strL
相关文章
相关标签/搜索