strcomp!=_T(".") && strcomp!=_T("..")
if(fd.dwFileAttributes & FILE_ATTRIBUTE_DIRECTORY)
{
CString strcomp=fd.cFileName;
if(strcomp!=_T(".") && strcomp!=_T(".."))
...........
}
fd是文件结构
strcomp!=_T(".") && strcomp!=_T("..")
是什么意思?想半天也不明白,有"." ".."这样的文件夹吗?