Description: 大家经常需要对指定目录下的所有文件进行搜索或其它相同操作。若文件数很多,逐一对每个文件手工操作,很费时。这里提供一个搜索或处理指定目录下的所有文件的C++类。作者用基于层次遍历的非递归算法(以减少运行时的时间和空间开销)实现了一个 CFileFind 的扩展类 CFileFindExt,该类可以对指定目录下的所有文件进行搜索或相同的处理操作。-designated directories on the search for all documents or other similar operations. If the document number many, one by one for each document manually, a very time-consuming. Search here for a designated directory or processing of all documents under the C category. Based on the author traverse the level of non- recursive algorithm (to reduce the running time and space costs) achieved a CFileFind CFileFindExt the extension of the class, such right can be specified directory of all documents or search for the same handling operations. Platform: |
Size: 59392 |
Author:lbq |
Hits: