文件是否存在API:
BOOL PathFileExists(LPCTSTR lpszPath);
文件夹是否存在API:
BOOL PathIsDirectory(LPCTSTR pszPath);
包含头文件和库:
#include <Shlwapi.h>
#pragma comment(lib, "shlwapi.lib")
文件是否存在API:
BOOL PathFileExists(LPCTSTR lpszPath);
文件夹是否存在API:
BOOL PathIsDirectory(LPCTSTR pszPath);
包含头文件和库:
#include <Shlwapi.h>
#pragma comment(lib, "shlwapi.lib")