Revision: 62069
Updated Code
at January 31, 2013 17:34 by zaxbbun
Updated Code
DIR *pDir = opendir(pathname); if(!pDir){ return false; } dirent *pDirEntry; struct stat entryStat; while((pDirEntry = readdir(pDir))){ // filter hidden files and / or subdirectorys if(pDir->dd_dta.attrib & _A_HIDDEN){ continue; } }
Revision: 62068
Updated Code
at January 31, 2013 17:33 by zaxbbun
Updated Code
DIR *pDir = opendir(pathname); if(!pDir){ return false; } struct stat entryStat; dirent *pDirEntry; while((pDirEntry = readdir(pDir))){ // filter hidden files and / or subdirectorys if(pDir->dd_dta.attrib & _A_HIDDEN){ continue; } }
Revision: 62067
Initial Code
Initial URL
Initial Description
Initial Title
Initial Tags
Initial Language
at January 31, 2013 17:26 by zaxbbun
Initial Code
DIR *pDir = opendir(m_dirName.c_str()); if(!pDir){ return false; } struct stat entryStat; dirent *pDirEntry; while((pDirEntry = readdir(pDir))){ // filter hidden files/subdirectorys if(pDir->dd_dta.attrib & _A_HIDDEN){ continue; } }
Initial URL
Initial Description
filter hidden files/directorys while using readdir() in the windows environment
Initial Title
filter hidden files/directorys while using readdir() in the windows environment
Initial Tags
Initial Language
C