摘要: #include #include typedef struct BTnode{ int data; struct BTnode *pLchild; struct BTnode *pRchild... 阅读全文
posted @ 2017-03-02 15:06 sowhat1412 阅读(64) 评论(0) 推荐(0) 编辑
摘要: // 双向线性链表#include using namespace std;typedef struct node{ int data; struct node * front; struct ... 阅读全文
posted @ 2017-03-02 14:43 sowhat1412 阅读(54) 评论(0) 推荐(0) 编辑
摘要: #include using namespace std;bool cir=0;#if 1 // 0 为队列一样的链表typedef struct cirlist{ int data; struct... 阅读全文
posted @ 2017-03-02 11:37 sowhat1412 阅读(188) 评论(0) 推荐(0) 编辑
摘要: #include #include using namespace std;typedef struct node{ int data; struct node *next;}NODE;NODE* c... 阅读全文
posted @ 2017-03-02 11:33 sowhat1412 阅读(85) 评论(0) 推荐(0) 编辑
摘要: #include using namespace std;typedef struct listarr{ int * arr; int cap; int size;}LIST_ARR;LIST_... 阅读全文
posted @ 2017-03-02 10:51 sowhat1412 阅读(85) 评论(0) 推荐(0) 编辑
摘要: #include using namespace std;#define MAX 100typedef struct staticlist{ int data; int next;}STATIC_LI... 阅读全文
posted @ 2017-03-02 10:49 sowhat1412 阅读(58) 评论(0) 推荐(0) 编辑
摘要: #include using namespace std;typedef struct listnode{ int data; struct listnode *next;}LIST_NODE;typ... 阅读全文
posted @ 2017-03-02 10:47 sowhat1412 阅读(40) 评论(0) 推荐(0) 编辑
摘要: #include using namespace std;#define MAX 4typedef struct queuearr{ int arr[MAX]; int cap; int siz... 阅读全文
posted @ 2017-03-02 10:40 sowhat1412 阅读(67) 评论(0) 推荐(0) 编辑
摘要: #include #include using namespace std;typedef struct node{ int data; struct node *next;}NODE;typedef... 阅读全文
posted @ 2017-03-02 10:19 sowhat1412 阅读(72) 评论(0) 推荐(0) 编辑
摘要: #include using namespace std;#include #define MAX 5typedef struct sharelist{ int arr[MAX]; int top; ... 阅读全文
posted @ 2017-03-02 09:36 sowhat1412 阅读(68) 评论(0) 推荐(0) 编辑
摘要: #include using namespace std;typedef struct listnode{ int data; struct listnode *next;}LIST_NODE;typ... 阅读全文
posted @ 2017-03-02 09:25 sowhat1412 阅读(62) 评论(0) 推荐(0) 编辑
摘要: #include using namespace std;typedef struct stackArr{ int *arr; int cap; int top;}STACK;STACK* cr... 阅读全文
posted @ 2017-03-02 09:22 sowhat1412 阅读(59) 评论(0) 推荐(0) 编辑
摘要: // http://www.cnblogs.com/c-cloud/p/3224788.html#include #include using namespace std;void makeNext(cons... 阅读全文
posted @ 2017-03-02 09:19 sowhat1412 阅读(71) 评论(0) 推荐(0) 编辑
摘要: #include #include #include using namespace std;int MyStrlen(char* a) //strlen(a){ int i=0; while(a[... 阅读全文
posted @ 2017-03-02 09:12 sowhat1412 阅读(93) 评论(0) 推荐(0) 编辑