64,644
社区成员
发帖
与我相关
我的任务
分享
BOOL GetSubFiles(LPCTSTR pszPath)
{
BOOL bRes;
CFileFind finder;
bRes = FALSE;
aFileList.RemoveAll();
BOOL bWorking = finder.FindFile(pszPath);
while (bWorking)
{
bWorking = finder.FindNextFile();
if( !finder.IsDirectory() && !finder.IsDots() ){
cout << finder.GetFileName() <<endl;
}
}
bRes = TRUE;
return bRes;
}