摘要: #include <stdio.h>#include <dirent.h>#include <sys/types.h>#include <sys/stat.h>#include <string>#include <string.h>using namespace std;void List(const char *path, int level) { struct dirent* ent = NULL; DIR *pDir; pDir = opendir(path); if (pDir == NULL) { //被当作目录 阅读全文
posted @ 2011-01-31 16:21 杨超路飞 阅读(871) 评论(0) 推荐(0) 编辑