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

VC++ 删除目录、文件夹

于 2022-01-22 发布 文件大小:26.78 kB
0 358
下载积分: 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 个回复

  • Java编写j2me五子棋游戏
    J2ME蓝牙五子棋游戏源代码,通过蓝牙连接对战,比较好玩的手机游戏,新手可以研究一下。代码片段:private Chess[][] chess; //棋子数组 private int player1win, player2win;    private MyCanvas mycanvas;    private int chessMapLength, chessMapGrid, chessGridLength;    //棋盘的边长,棋盘一边格子数,每格宽度    private int chessLength; //棋子的直径    private int chessMapX, chessMapY; //棋盘左上角x,y坐标    public static boolean myMove;    public boolean isServer;    private int selectedX, selectedY; //选择框在棋盘格局上的x,y位置   
    2022-01-28 10:20:39下载
    积分:1
  • Quartus
    QUARTUS-7.2的破解软件,可以破解QUARTUS-7.2,能用到2034年。-The crack QUARTUS-7.2 software, can crack QUARTUS-7.2, can be used to in 2034.
    2022-03-24 14:50:21下载
    积分:1
  • 约瑟夫环算法
    Joseph Ring 算法-Joseph Ring algorithm
    2022-04-21 07:07:42下载
    积分:1
  • P115 IC卡手持POS是天石科技32位IC卡POS系列产品之一,该产品秉承天石科技的一贯品质,产品结构紧凑,功能实用,操作简单,并具低功耗特性,是人机工学和...
    P115 IC卡手持POS是天石科技32位IC卡POS系列产品之一,该产品秉承天石科技的一贯品质,产品结构紧凑,功能实用,操作简单,并具低功耗特性,是人机工学和现代科技的完美结合。它拥有多项专有技术,能够保证产品性能更加稳定强劲。整机采用工业级设计,其环境适应能力较强。P115兼容卡种全面,并且提供方便实用的开发平台和应用程序接口,易于自主应用二次开发,适用于需要随时随地处理IC卡的交警、烟草、公用事业、餐饮等多个行业。 天石科技下载工具-P115 IC card handheld POS technology is Tianshi 32 IC card POS products, one of our days, the product has always been the quality of stone technology, products, compact structure, functional and practical, simple operation, and a low-power characteristics, is a mechanic school and the perfect combination of modern technology. It has a number of proprietary technology, to ensure a more stable product performance strong. Machine used industrial design, ability to adapt to their environment. P115-compatible card types comprehensive, and provide convenient and practical development platform and application program interface, easy self-application of the second development, applicable to the needs of any traffic police deal with IC cards, tobacco, utilities, food and bev
    2022-10-10 01:00:03下载
    积分:1
  • 小游戏 一个用vc++编得小游戏 游戏规则就不说了啊 上面有! 就是一个小小得游戏拉...
    小游戏 一个用vc++编得小游戏 游戏规则就不说了啊 上面有! 就是一个小小得游戏拉-small game with a vc++ of being small game rules of the game will not say that there are ah! Little is a game in Rafah
    2023-06-06 11:10:03下载
    积分:1
  • VHDL 函数信号发生器 VHDL 函数信号发生器
    VHDL 函数信号发生器 VHDL 函数信号发生器-VHDL Function Generator VHDL Function Generator
    2023-05-22 16:20:03下载
    积分:1
  • C++开发的推箱子游戏 1.类的划分 Cdraw类 绘画加载地图(包括围墙、人、箱子等等) Cman类 是否完成(过关) 即时更新...
    C++开发的推箱子游戏 1.类的划分 Cdraw类 绘画加载地图(包括围墙、人、箱子等等) Cman类 是否完成(过关) 即时更新地图 2.设计思想 从文件map.txt里读取地图信息,然后通过Cdraw类加载地图,通过keydown事件调用Cman里的重载函数updatemap, 单参数updateMap(UINT nChar)是用于更改当前小人以及箱子的坐标,记录下来后传给updateMap(int x1, int y1, int x2, int y2, int x3, int y3) 从而改变地图。-C development Tuixiangzi a game. Class division Cdraw painting category loaded maps (including the wall, boxes, etc.) if the class completed Cman (clearance) updated maps 2. Design ideas from the paper map.txt Lane read map information, then pass Cdraw Class Loading maps, Calling the incident through keydown Cman Lane updatemap of overloading functions, updateMap single parameter (UINT nChar) is used to change the current villains and the coordinates of the boxes, After record pass updateMap (int x1, y1 int, int x2, int y2, x3 int, int y3), thus changing map.
    2022-01-25 13:53:04下载
    积分:1
  • 动科ASP企业网站管理系统 v6.0
    动科ASP企业网站管理系统使用说明:   一、本地测试使用微软的iis环境,不支持非官方的iis环境。   二、默认管理路径为www.你的域名.com/admin,用户名密码都为admin,强烈建议修改后台路径,这样更安全。   三、本地测试时需要开启iis的父路径,设置默认文档中存在index.asp(具体设置请根据iis版本百度即可)   四、本地测试时网站所在文件夹需要开启读写权限(一般不用设置)   五、网站如果放在非根目录,请修改system/conn.asp。把s_path = "/"修改成s_path = "/二级目录名/"   六、Logo请修改template中对模板目录中images中的logo.png
    2022-03-03 01:39:12下载
    积分:1
  • TC下的万年历程序。有详细注释。
    TC下的万年历程序。有详细注释。-TC hefty almanac under the procedure. Detailed Notes.
    2022-02-06 14:53:44下载
    积分:1
  • 关于电影谍影重重的原著小说,英文版的,相信会对大家的英语水平有所提高。...
    关于电影谍影重重的原著小说,英文版的,相信会对大家的英语水平有所提高。-谍影重重on the film
    2022-09-19 11:30:03下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载