登录
首页 » 文件处理 » 大家经常需要对指定目录下的所有文件进行搜索或其它相同操作。若文件数很多,逐一对每个文件手工操作,很费时。这里提供一个搜索或处理指定目录下的所有文件的C++类。作...

大家经常需要对指定目录下的所有文件进行搜索或其它相同操作。若文件数很多,逐一对每个文件手工操作,很费时。这里提供一个搜索或处理指定目录下的所有文件的C++类。作...

于 2023-06-07 发布 文件大小:58.61 kB
0 164
下载积分: 2 下载次数: 1

代码说明:

大家经常需要对指定目录下的所有文件进行搜索或其它相同操作。若文件数很多,逐一对每个文件手工操作,很费时。这里提供一个搜索或处理指定目录下的所有文件的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.

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • 原始数据划分为train.dat和test.dat
    应用背景开始是做movielense的数据,可以把原始数据任意划分为train.dat和test.dat,主要是为了做验证实验。非常简单明了,适合初学者看看,如果不喜欢,请轻喷。关键技术# -*- coding: cp936 -*- from sklearn import cross_validation c = [] filename = r"Raw.data" #原始数据 out_train = open(r"train.txt","w") #训练集 out_test = open(r"test.txt","w") #测试集 for line in open(filename):     items = line.strip().split(",")      c.append(items)   c_train,c_test = cross_validation.train_test_split(c,test_size=0.1)#size =你需要的比例 for i in c_train:     out_train.write(",".join(i)+" ") for i in c_test:     out_test.write(",".join(i)+" ")
    2022-01-25 21:21:56下载
    积分:1
  • DDM (Delicate Document Manager) is a tool f or searching, browsing and managing...
    DDM(Delicate Document Manager) is a tool for searching, browsing and managing PDF documents. It provides an Explorer-like view of PDF files with their titles instead of file names. It embeds a fast incremental search function for finding PDF files. -DDM (Delicate Document Manager) is a tool f or searching, browsing and managing PDF documents. It provid es an Explorer-like view of PDF files with their titles instead of file names. It embeds in a fast cremental search function for finding PDF file s.
    2022-01-26 07:14:06下载
    积分:1
  • 在本中,我们提出了一种颜色
    In this paper, we propose a color-based segmentation method that uses the K-means clustering technique to track tumor objects in magnetic resonance (MR) brain images. The key concept in this color-based segmentation algorithm with K-means is
    2023-03-03 11:45:03下载
    积分:1
  • 趋势曲线图 You Might Want To Copy The Files Into The System Directory Before Regi...
    趋势曲线图 You Might Want To Copy The Files Into The System Directory Before Registering Them With FSOCX.EXE Programs available from the homepage are FS TextFile........ VB OCX Easy Access To Text Files FS AnimIcon........ VB OCX Animated Icon s For The Taskbar FS FunkyFont....... VB OCX Multicolored fonts in a textbox FS OnlineUpdate.... VB OCX to perform Online Version Checks FS Utils........... VB OCX alot of little functions FS Password........ VB OCX Password protect your Apps FS CommonDialog.... VB OCX missing part of commondialog FS TweakDUN........ Easy access to tweakDUN from taskbar FS Scroll.......... VB OCX Scroll forms or controls FS DateCheck....... VB OCX setup App s to stop after a date FS OCXReg.......... A small program to register/unregister OCX s FS MsgBox.......... VB OCX programmable MsgBox replacment FS Digital......... VB OCX 3 color digital display FS File............ VB OCX find files-file type on any drive-trend curves You M
    2022-11-13 00:05:04下载
    积分:1
  • 为了互相交流,我上传原创了! 这是关于字符串CString的强大功能各种使用方法。1,能排序,2,涉及输出。...
    为了互相交流,我上传原创了! 这是关于字符串CString的强大功能各种使用方法。处理1,能排序,处理2,涉及文件输出。-the sake of mutual exchange, I upload original! This is a string of powerful redeem the use of various methods. Dealing with a will, in order to deal with two, involving document output.
    2022-02-09 16:47:07下载
    积分:1
  • PDF本抽取
    PDF文本抽取 -PDF text extraction
    2023-04-10 03:25:04下载
    积分:1
  • A document written using vc partition, and absolutely original Oh, is currently...
    一个用vc写的文件分割器,绝对原创哦,目前是单线程的所以分割大文件时有点假死的现象,稍微改下就可做成多线程版的,留给大家来改吧-A document written using vc partition, and absolutely original Oh, is currently single-threaded split large files so when the phenomenon of suspended animation a bit, a little change can be made under the multi-threaded version, leaving you to change it
    2022-02-11 14:44:36下载
    积分:1
  • 批量重命名小工具,可以批量的把修改名,支持新名的格式自定义...
    文件批量重命名小工具,可以批量的把修改文件名,支持新文件名的格式自定义-file renaming
    2022-04-06 17:23:37下载
    积分:1
  • 使用FileReader和FileWriter类,采用字符访问方式操作
    使用FileReader和FileWriter类,采用字符文件访问方式操作文件-FileReader and FileWriter use category, the use of characters in a document file access operations
    2022-11-17 12:05:04下载
    积分:1
  • Sysinternal filemon 源码
    Sysinternal filemon 源码,可以编译运行。
    2022-06-11 12:24:51下载
    积分:1
  • 696518资源总数
  • 106182会员总数
  • 24今日下载