摘要: 可能各位看官们有更好的方法,请不吝赐教。#ifdef _WIN32#include #else#include #include #include #include #endifwin32平台引用io.h里面的信息。主要定义了一个void dfsFolder(string folderPath, int depth = 0);方法对其进行递归遍历。具体的实现为 1 void dfsFolder( string folderPath, int depth) 2 { 3 #ifdef WIN32 4 _finddata_t FileInfo; 5 string strfind = ... 阅读全文
posted @ 2013-09-11 21:39 TickDream 阅读(3765) 评论(0) 推荐(0) 编辑