摘要: 1.循环队列#include<stdio.h>#define MAXSIZE 10#define TRUE 1#define FALSE 0typedef struct{ int data[MAXSIZE]; int front; int rear;}SqQueue;int InitQueue(SqQueue *Q);int QueueLength(SqQueue *Q);int EnQueue(SqQueue *Q,int m);int DeQueue(SqQueue *Q,int *e);int main(){ SqQueue queue; int t; ... 阅读全文
posted @ 2011-12-22 10:52 shiney 阅读(307) 评论(0) 推荐(0) 编辑