由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Programming版 - Find and delete folder in C++
相关主题
delete files in windows一个batch file的问题
有人用cmake吗?请问这个cmake规则如何写?
[合集] Adobe面试题, 怎么能把很多文件读到Memory ?Urgent! html, css,xml,xsl, javascrip.
相关话题的讨论汇总
话题: folder话题: find话题: c++话题: delete话题: oldest
进入Programming版参与讨论
1 (共1页)
s********z
发帖数: 5411
1
Hi,
I am trying to write a simple C++ routine to find and delete the folder and all the files and subdirectory under the folder.
I have attached the folder structure. I need to delete from the oldest
folder until the disk has certain free space. For example, under data folder, I need start from "20090207" folder. I can either use the folder create time or folder name to find the oldest folder.
Please help me with this. How find of functions should I use and how
implement them.
Thanks a lot!!
y****i
发帖数: 156
1 (共1页)
进入Programming版参与讨论
相关主题
有人用cmake吗?请问这个cmake规则如何写?
[合集] Adobe面试题, 怎么能把很多文件读到Memory ?Urgent! html, css,xml,xsl, javascrip.
一个batch file的问题delete files in windows
相关话题的讨论汇总
话题: folder话题: find话题: c++话题: delete话题: oldest