摘要: #include <stdlib.h>#include <stdbool.h>#include <stdio.h>#define MAXSIZE 20typedef struct { int date;} Item;typedef struct { Item item[MAXSIZE]; int front; //头指针 int rear; //尾指针 } queue;//初始化bool initQueue(queue *q);//入队 void EnQueue(queue *q, Item *e);//遍历void QueueTraverse(queue 阅读全文
posted @ 2013-03-21 16:21 chapterlin 阅读(141) 评论(0) 推荐(0)