windows判断创建目录
windows判断创建目录
#include <Shlwapi.h>
#pragma comment(lib, "shlwapi.lib")
//windows 判断目录是否存在,创建目录
if (!PathIsDirectory(str))
{
::CreateDirectory(str, NULL);
}

windows判断创建目录
#include <Shlwapi.h>
#pragma comment(lib, "shlwapi.lib")
//windows 判断目录是否存在,创建目录
if (!PathIsDirectory(str))
{
::CreateDirectory(str, NULL);
}