摘要: PS1:顺序栈: 1 //ADT Stack 2 //line 3 #define MaxStackSize 100 4 typedef int ElemType; 5 typedef struct 6 { 7 ElemType stack[MaxStackSize]; 8 int top; 9... 阅读全文
posted @ 2014-04-21 07:40 Pxjw 阅读(113) 评论(0) 推荐(0) 编辑
摘要: #include#include#include#include#define MAX_LEN 5typedef struct node{ char optr; int data; struct node* lchild; struct node* rchild;}BTNode;BTNode... 阅读全文
posted @ 2014-04-21 07:38 Pxjw 阅读(167) 评论(0) 推荐(0) 编辑