标签:als pat empty rem close 判断 ext turn return
BOOL IsFolderEmpty(string path)
{
string str = path + "\\*.*";
CFileFind ff;
BOOL bFound;
bFound = ff.FindFile(str.c_str());
while (bFound)
{
bFound = ff.FindNextFile();
if (!ff.IsDots())
{
return FALSE;
}
}
ff.Close();
return TRUE;
}
标签:als pat empty rem close 判断 ext turn return
原文地址:https://www.cnblogs.com/ives/p/14900830.html