摘要: #include #include #include #include typedef struct Queue { int * pBase; //数组的首地址 int front; int rear; }QUEUE; void init(QUEUE * ); bool en_queue(QUEUE *, int ); void traverse_queue(... 阅读全文
posted @ 2019-06-25 22:59 小孢子 阅读(113) 评论(0) 推荐(0) 编辑
摘要: #include #include #include #include typedef struct Node { int data; struct Node * next; }NODE, *PNODE; typedef struct stack { PNODE pTop; PNODE pBottom; }STACK, *PSTACK; void i... 阅读全文
posted @ 2019-06-25 16:53 小孢子 阅读(351) 评论(0) 推荐(0) 编辑