摘要: #include <stdio.h>#include <stdlib.h>#include <stdbool.h>typedef struct item{ int data;} Item;//节点结构 typedef struct node{ Item item; struct node *nextNode;}Node, *queue;//队列的链表结构 typedef struct { queue front; queue rear;} linkQueue;//初始化 void initQueue(linkQueue *q);//入队 void enQue 阅读全文
posted @ 2013-03-24 23:04 chapterlin 阅读(128) 评论(0) 推荐(0)