遍历本目录下的所有文件

上传者: moonshine99 | 上传时间: 2021-09-11 15:38:50 | 文件大小: 3.82MB | 文件类型: RAR
遍历本目录下的所有文件,vs2008实现,是一个小例子,遍历本目录(也包括子目录)所有.h文件,并将其保存到某个文件中

文件下载

资源详情

[{"title":"( 25 个子文件 3.82MB ) 遍历本目录下的所有文件","children":[{"title":"FindAllFilesInDir.ncb <span style='color:#111;'> 11.92MB </span>","children":null,"spread":false},{"title":"FindAllFilesInDir.sln <span style='color:#111;'> 917B </span>","children":null,"spread":false},{"title":"Debug","children":[{"title":"FindAllFilesInDir.exe <span style='color:#111;'> 2.29MB </span>","children":null,"spread":false},{"title":"Resource.h <span style='color:#111;'> 540B </span>","children":null,"spread":false},{"title":"targetver.h <span style='color:#111;'> 1.01KB </span>","children":null,"spread":false},{"title":"all_h_file_path.txt <span style='color:#111;'> 416B </span>","children":null,"spread":false},{"title":"test","children":[{"title":"Resource.h <span style='color:#111;'> 540B </span>","children":null,"spread":false},{"title":"targetver.h <span style='color:#111;'> 1.01KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"FindAllFilesInDir","children":[{"title":"ReadMe.txt <span style='color:#111;'> 2.87KB </span>","children":null,"spread":false},{"title":"FindAllFilesInDir.cpp <span style='color:#111;'> 1.75KB </span>","children":null,"spread":false},{"title":"res","children":[{"title":"FindAllFilesInDir.rc2 <span style='color:#111;'> 373B </span>","children":null,"spread":false},{"title":"FindAllFilesInDir.ico <span style='color:#111;'> 21.12KB </span>","children":null,"spread":false}],"spread":true},{"title":"FindAllFilesInDirDlg.cpp <span style='color:#111;'> 4.10KB </span>","children":null,"spread":false},{"title":"stdafx.h <span style='color:#111;'> 1.75KB </span>","children":null,"spread":false},{"title":"FindAllFilesInDir.vcproj <span style='color:#111;'> 5.45KB </span>","children":null,"spread":false},{"title":"Debug","children":null,"spread":false},{"title":"FindAllFilesInDir.aps <span style='color:#111;'> 57.43KB </span>","children":null,"spread":false},{"title":"stdafx.cpp <span style='color:#111;'> 148B </span>","children":null,"spread":false},{"title":"Resource.h <span style='color:#111;'> 540B </span>","children":null,"spread":false},{"title":"FindAllFilesInDirDlg.h <span style='color:#111;'> 699B </span>","children":null,"spread":false},{"title":"FindAllFilesInDir.vcproj.SPFAY2I6KUS3GKX.Administrator.user <span style='color:#111;'> 1.39KB </span>","children":null,"spread":false},{"title":"FindAllFilesInDir.rc <span style='color:#111;'> 5.18KB </span>","children":null,"spread":false},{"title":"targetver.h <span style='color:#111;'> 1.01KB </span>","children":null,"spread":false},{"title":"all_h_file_path.txt <span style='color:#111;'> 0B </span>","children":null,"spread":false},{"title":"FindAllFilesInDir.h <span style='color:#111;'> 507B </span>","children":null,"spread":false}],"spread":false},{"title":"FindAllFilesInDir.suo <span style='color:#111;'> 12.50KB </span>","children":null,"spread":false}],"spread":true}]

评论信息

  • laohuzi7421 :
    感谢分享,可编译,挺不错的例子
    2017-02-23
  • lu_ffy :
    还不错,只是是文档,- -
    2013-11-16
  • wb117908406 :
    MFC的例子,比较实用,谢谢分享
    2013-09-29
  • leiguanqun :
    其实没有必要保存到文档中,保存到一个数组中更实用
    2013-01-17

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明