摘要:
#include <stdio.h> #include "queue.h" int main(void) { SqQueue qu; ElemType e; InitQueue(&qu); printf("栈%s/n", (QueueEmpty(qu) == 0 ? "空" : "不空")); printf("a进栈/n"); EnQueue(&qu, 'a'); printf("b进栈/n"); EnQueue(&qu, 阅读全文
posted @ 2010-10-30 22:58
云说风轻
阅读(350)
评论(0)
推荐(0)
摘要:
#include <stdio.h> #include "stack.h" int main(void) { SqStack st; ElemType e; InitStack(&st); printf("栈%s/n", (StackEmpty(st) == 0 ? "空" : "不空")); printf("a进栈/n"); Push(&st, 'a'); printf("b进栈/n"); Push(&st, 'b 阅读全文
posted @ 2010-10-30 16:28
云说风轻
阅读(295)
评论(0)
推荐(0)

浙公网安备 33010602011771号