摘要: #include#include #include"windows.h"using namespace std;struct OLinMatrixkNode{ int data; int x,y; OLinMatrixkNode* right; OLinMatrixkNode... 阅读全文
posted @ 2014-09-28 17:14 kbyd 阅读(168) 评论(0) 推荐(0) 编辑
摘要: #include#include #include"windows.h"using namespace std;struct StaticLinkNode{ int data; int next;};struct StaticLink{ StaticLinkNode* nodes;... 阅读全文
posted @ 2014-09-28 13:55 kbyd 阅读(198) 评论(0) 推荐(0) 编辑
摘要: #include#include #include"windows.h"using namespace std;struct Tripple{ int x,y,value;};struct RLSMatrix{ int r,c,cnt; Tripple* tripples; ... 阅读全文
posted @ 2014-09-26 20:42 kbyd 阅读(221) 评论(0) 推荐(0) 编辑
摘要: #include#include #include"windows.h"using namespace std;struct Tripple{ int x,y,value;};struct TrippleMatrix{ int r,c,cnt; Tripple* tripples;... 阅读全文
posted @ 2014-09-26 19:58 kbyd 阅读(244) 评论(0) 推荐(0) 编辑
摘要: #include#include using namespace std;enum TriangleTye{leftBottom,leftUp,rightBottom,rightUp};struct TriangleMatrix{ int* nums; int scale; Tri... 阅读全文
posted @ 2014-09-26 19:16 kbyd 阅读(204) 评论(0) 推荐(0) 编辑
摘要: #includeusing namespace std;struct LinkQueueNode{ LinkQueueNode* nextIn; int value;};struct LinkQueue{ LinkQueueNode* front; LinkQueueNo... 阅读全文
posted @ 2014-09-24 23:36 kbyd 阅读(202) 评论(0) 推荐(0) 编辑
摘要: #includeusing namespace std;struct LinktackNode{ LinktackNode* lastIn; int value;};struct LinkStack{ LinktackNode* top; LinktackNode* ... 阅读全文
posted @ 2014-09-24 22:56 kbyd 阅读(145) 评论(0) 推荐(0) 编辑
摘要: #includeusing namespace std;struct Queue{ int maxCnt; int* elements; int front,rear;};Queue* createQueue(int max=7){ Queue* queue = (Queu... 阅读全文
posted @ 2014-09-24 22:17 kbyd 阅读(207) 评论(0) 推荐(0) 编辑
摘要: #includeusing namespace std;struct Stack{ int maxCnt; int* elements; int top,bottom;};Stack* createStack(int max=100){ Stack* stack = (St... 阅读全文
posted @ 2014-09-24 21:37 kbyd 阅读(309) 评论(0) 推荐(0) 编辑
摘要: #includeusing namespace std;struct LinkNode{ int value; LinkNode* next; LinkNode* pre;};LinkNode* createDoubleRoundLinkList(){ LinkNode* head... 阅读全文
posted @ 2014-09-24 20:57 kbyd 阅读(430) 评论(0) 推荐(0) 编辑