mfc判断目录是否为空
2021-09-11 22:13
阅读:799
标签: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; } mfc判断目录是否为空标签:als pat empty rem close 判断 ext turn return 原文地址:https://www.cnblogs.com/ives/p/14900830.html
下一篇:js 代码运行中插入交互
评论
亲,登录后才可以留言!