摘要: void GetAllDirList(String^ path,List^ list){array^ dirs = Directory::GetDirectories(path); for each(String^ dir in dirs ){FileInfo^ info = gcnew FileInfo(dir);if((info->Attributes & FileAttributes::Hidden) == FileAttributes::Hidden )//过滤掉隐藏文件continue;list->Add(dir);GetAllDirList(dir,list); 阅读全文
posted @ 2013-06-02 14:12 dot dot 小点点丶 阅读(309) 评论(0) 推荐(0) 编辑
摘要: #include<iostream>#include<cstdlib>#include<ctime>using namespace std ;#define MAXSIZE 100 #define OK true #define ERROR false #define LEN 5 #define OVERFLOW 0typedef bool Status ;typedef int QElemType ;typedef struct QNode{ QElemType data ; QNode * next ;}QNode,*pQNode;typedef str 阅读全文
posted @ 2013-05-29 16:28 dot dot 小点点丶 阅读(127) 评论(0) 推荐(0) 编辑
摘要: #include<iostream>#include<cstdlib>#include<ctime>using namespace std ;#define MAXSIZE 100#define OK true#define ERROR false#define LEN 5typedef bool Status ;typedef int QElemType ;typedef struct{QElemType data[MAXSIZE];int front ;int rear ;}SqQueue;Status initQueue(SqQueue * Q){Q- 阅读全文
posted @ 2013-05-29 15:19 dot dot 小点点丶 阅读(122) 评论(0) 推荐(0) 编辑
摘要: #include <iostream>using namespace std ;#define MAXSIZE 1000#define OK true #define ERROR false typedef int ElemType ;typedef bool Status ;typedef struct {ElemType data ;int cur ;}Component,StaticLinkList[MAXSIZE];Status InitStaticLinkList(StaticLinkList space){for(int i = 0 ; i < MAXSIZE-1 阅读全文
posted @ 2013-05-28 10:09 dot dot 小点点丶 阅读(121) 评论(0) 推荐(0) 编辑