登录
首页 » 其他 » VC++ 删除目录、文件夹

VC++ 删除目录、文件夹

于 2022-01-22 发布 文件大小:26.78 kB
0 380
下载积分: 2 下载次数: 1

代码说明:

VC++ 删除目录或文件夹的例子。删除指定的文件夹目录的源码,请在文本框中输入需要删除的目录名称、路径即可,路径不要错哦,本示例主要是演示如何删除文件,在易用性方面没过多完善。   //是文件时直接删除   if (!file.IsDots() && !file.IsDirectory())    DeleteFile(file.GetFilePath());   else if (file.IsDots())    continue;   else if (file.IsDirectory())   {    path = file.GetFilePath();    //是目录时,继续递归调用函数删除该目录下的文件    DelFolder(path);    //目录为空后删除目录    RemoveDirectory(path);   }

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

发表评论

0 个回复

  • RTP 通信开源项目源码
    rtp通信开源项目源码,适合任何平台,目前已经基本成熟。按照RFC3550实现,这使得它很容易地发送和接收RTP包和RTCP(RTP控制协议).
    2022-02-10 14:52:46下载
    积分:1
  • html5 CSS3鼠标悬停图片抖动
    html5 CSS3鼠标悬停图片抖动,鼠标放在图片上,图片会抖动几下,在支持HTML5浏览器中有最佳效果。将本效果放在图片列表中比较合适,比如购物网站的产品图片列表、企业网站的产品中心列表、文章资讯站的推荐图文列表,都可以加入这种图片抖动效果,会让访问者感觉网站的灵动,而且不张扬。
    2022-10-22 17:15:03下载
    积分:1
  • classic design of the data structure with very magnificent physical effects of t...
    经典的结构设计资料 配合很美观的实物效果图加以说明-classic design of the data structure with very magnificent physical effects of the map to illustrate
    2022-08-17 01:46:07下载
    积分:1
  • The word building game is a well known game all over the world. It is also calle...
    The word building game is a well known game all over the world. It is also called as scrabble. In this network-supported game, four players can play the game together sharing the same matrix board. Players can join their corresponding opponents directly by searching. I have used UDP sockets for searching the hosted game and TCP sockets for game processing. This game can be played within the subnet.
    2023-01-15 04:30:03下载
    积分:1
  • Java API中文文档,是学习JAVA必备手册,很不错的文档
    Java API中文文档,是学习JAVA必备手册,很不错的文档-Java API documentation in Chinese, is an essential handbook to learn JAVA, I am very good documentation
    2022-05-10 16:02:00下载
    积分:1
  • Flash图文滚动Fla源代码
    Flash图文滚动Fla源代码,来自Flash达人的作品中,自带Flash8源码文件,有兴趣的朋友可做为学习动画制作的基本范例。
    2023-05-08 16:55:02下载
    积分:1
  • 韩国Flash产品图展示
    来自韩国的一款Flash产品图展示效果,鼠标只需放在菜单图片上,该项菜单内容即可展开显示,再次移走鼠标后,菜单恢复原状,看着还挺不错吧。
    2022-07-25 08:44:36下载
    积分:1
  • Russian box, VC source code, the use of DirectX 8.1, a good learning DirectX cod...
    俄罗斯方块, VC源代码, 使用DirectX 8.1, 学习DirectX的好代码.-Russian box, VC source code, the use of DirectX 8.1, a good learning DirectX code.
    2022-10-26 23:30:03下载
    积分:1
  • 需要.Net Framework2.0支持,如果没有请先下载安装微软的.Net Framework2.0: http://www.microsoft.com...
    需要.Net Framework2.0支持,如果没有请先下载安装微软的.Net Framework2.0: http://www.microsoft.com/downloads/details.aspx?FamilyID=0856eacb-4362-4b0d-8edd-aab15c5e04f5&DisplayLang=zh-cn 输入要抓图的网址,点“Go”按钮,页面加载完成后点"Save"按钮即可保存当前网页为图片。-Required. Net Framework2.0 support, if not please download and install Microsoft" s. Net Framework2.0: http://www.microsoft.com/downloads/details.aspx?FamilyID=0856eacb-4362-4b0d-8edd-aab15c5e04f5& DisplayLang = zh-cn enter the drawings of the site, point " Go" button, the page loads after the completion point " Save" button to save the current page as a picture.
    2022-03-18 03:18:34下载
    积分:1
  • 在阵列中进行DOA估计的matlab程序,RBF神经网络实现
    在阵列中进行DOA估计的matlab程序,RBF神经网络实现-In the array in DOA estimation matlab program, RBF neural network
    2022-02-22 01:37:48下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载