Welcome![Sign In][Sign Up]
Location:
Downloads SourceCode OS program Linux-Unix
Title: taoqianzimulu Download
 Description: int IsEmptyDir(char*pszDir){DIR*pstDirp=NULL;struct dirent*pstDirStru=NULL;int ulFileNum=0;int ret=1;char szDir[100];memset(szDir,0,100);pstDirp=opendir(pszDir);if(NULL==pstDirp){printf("open dir error\n");return 0;}while(pstDirStru=readdir(pstDirp)){strcpy(szDir,pszDir);if(DT_DIR==pstDirStru-d_type){if(strcmp(pstDirStru-d_name,".")&&strcmp(pstDirStru-d_name,"."{ret=0;memset(szDir,0,100);sprintf(szDir,"s/s",pszDir,pstDirStru-d_name);IsEmptyDir(szDir);}}else{ret=0;}}closedir(pstDirp);if(ret==1){printf("s is empty dir\n",szDir);}else{printf("is not empty dir\n",szDir);}return ret;}
 Downloaders recently: [More information of uploader 779022395]
 To Search:
File list (Check if you may need any files):
FileInfo.cpp
Resource.h
ReadMe.txt
VCHelper.h
VCHelper.cpp
StdAfx.cpp
VCHelperView.h
VCHelperView.cpp
MainFrm.h
MainFrm.cpp
FPSPropertyList.h
choosedirdlg.h
choosedirdlg.cpp
FPSPropertyListItem.h
MemDC.h
ProgressWnd.cpp
ProgressWnd.h
VCHelper.dsw
FPSPropertyList.cpp
FileInfo.h
res
...\VCHelper.rc2
...\vssver.scc
...\Toolbar.bmp
...\VCHelper.ico
...\VCHelperDoc.ico
Release
StdAfx.h
CodeStats.h
FPSPropertyListItem.cpp
VCHelperDoc.cpp
VCHelperDoc.h
CodeStatDlg.h
VCHelper.dsp
FileNameSearchReplaceDlg.h
CodeStatDlg.cpp
FileNameSearchReplaceDlg.cpp
SearchReplaceDlg.h
SearchReplaceDlg.cpp
VCHelper.rc
    

CodeBus www.codebus.net