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

VC++ 删除目录、文件夹

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

  • 紀錄keyin功能
    应用背景紀錄keyin功能,紀錄鍵盤動作所輸入的相關字元,將其字元顯示於框架中辨認.此程式是利用VB6所撰寫出來,利用簡易的程式編碼來記錄電腦鍵盤輸出的相關字元.关键技术程式利用VB6所撰寫出來,利用簡易的程式編碼來記錄電腦鍵盤輸出的相關字元.紀錄keyin功能,紀錄鍵盤動作所輸入的相關字元,將其字元顯示於框架中辨認
    2022-03-16 20:47:28下载
    积分:1
  • ep1c20 LEON3 for改变FPGA的补丁。
    leon3 patch for altera ep1c20 FPGA.
    2022-01-30 10:09:41下载
    积分:1
  • 锁相环的 systemview 实现,主要是还有FM的应用哦
    锁相环的 systemview 实现,主要是还有FM的应用哦-PLL is implemented by system view, FM is an example.
    2022-09-03 13:15:02下载
    积分:1
  • VB做的超级
    vb做的超级马力游戏 相似度挺高,应该是画面相似度高:)-vb do super-powered game similarity Tinggao should screen similarity is high :)
    2022-03-19 03:48:00下载
    积分:1
  • 系统可用编辑器1. Overview 2. System Requirements 3. Contents of the Distribution Packag...
    系统可用编辑器1. Overview 2. System Requirements 3. Contents of the Distribution Package 4. List of Available Command Line Flag Options 5. Contents of the Extracted Files 6. Installing the Software in Interactive Mode 7. Installing the Software in Silent Mode 8. Installing the INF Files Prior to OS Installation 8A. Installing the Windows* XP INF Files Prior to OS Installation-system can be an editor. Overview 2. System Requirements 3. Contents of the Distribution Package 4. List of Flag Available Command Line Options 5. Contents of the Extracted Files 6. Installing the Interactive Software in Mode 7. Installing the Software in Silent Mode 8. Installing the INF Files Prior to OS Installation 8A.* Installing the Windows XP Files INF Prior to OS Installation
    2022-07-23 00:11:25下载
    积分:1
  • 描述
    Description Input c,Output a and b that a + b = c Input a signed 32bit integer c Output Output just one pair of signed 32bit integers a and b -Description Input c,Output a and b that a+ b = c Input a signed 32bit integer c Output Output just one pair of signed 32bit integers a and b
    2022-12-05 10:05:03下载
    积分:1
  • 一个双人五子棋,支持人机对战,界面美观,电脑ai算法比较好,工程文件已转,vc7和vc6都可直接打开编译...
    一个双人五子棋,支持人机对战,界面美观,电脑ai算法比较好,工程文件已转,vc7和vc6都可直接打开编译-a double 331, support human-machine players, beautiful interface, computer ai better algorithm, the document has been changed, and vc7 and vc6 compiler can directly open
    2022-06-30 00:59:22下载
    积分:1
  • Huawei
    关于华为智能网技术介绍,可以了解智能网发展的过程,含有部分华为产品的介绍,请大家-Huawei
    2022-01-21 18:33:28下载
    积分:1
  • Aduc812 进行ad_da 转换的原理图,Protel 99制作,
    Aduc812 进行ad_da 转换的原理图,Protel 99制作,-Precise ad_da conversion for the schematics, Protel 99 production,
    2022-02-05 06:23:53下载
    积分:1
  • own buffer overflow on the PPT, we hope to help
    自己做的关于缓冲区溢出方面的PPT,希望对大家有所帮助-own buffer overflow on the PPT, we hope to help
    2022-06-18 02:08:54下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载