文件名称:搜索子目录(VC源码)
介绍说明--下载内容均来自于网络,请自行研究使用
(1) 代码接口和CFileFind一样,所以如果原来有搜索单一目录的程序,现在要把下
面的子目录也搜索,那么只需要把原来的CFileFind改成CFileFindAll就可以了
(当然要包含FileFindAll头文件了)。 这样就不用大段的改代码了。
(2) 增加了同一个子目录下文件按文件名排序,或者随机打乱顺序
(3) 增加了返回文件路径的n级根目录的功能。+n返回n级目录,-n返回(总级数-n)
级目录。 -(1) interface and CFileFind code, So if they have a single directory search procedures, it will also subdirectories below the search, only then should the original CFileFind CFileFindAll can change the (course the first document contains the FileFindAll). This would not have a big change of the code. (2) an increase in the same subdirectory documents by file name, in order of random order to disrupt or (3) increase the return path of documents n-root directory functions. N to n-catalog-n return (total Series-n) level directory.
面的子目录也搜索,那么只需要把原来的CFileFind改成CFileFindAll就可以了
(当然要包含FileFindAll头文件了)。 这样就不用大段的改代码了。
(2) 增加了同一个子目录下文件按文件名排序,或者随机打乱顺序
(3) 增加了返回文件路径的n级根目录的功能。+n返回n级目录,-n返回(总级数-n)
级目录。 -(1) interface and CFileFind code, So if they have a single directory search procedures, it will also subdirectories below the search, only then should the original CFileFind CFileFindAll can change the (course the first document contains the FileFindAll). This would not have a big change of the code. (2) an increase in the same subdirectory documents by file name, in order of random order to disrupt or (3) increase the return path of documents n-root directory functions. N to n-catalog-n return (total Series-n) level directory.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
FileFindAll.cpp
FileFindAll.h
FileFindAll.h