摘要:
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; ... 阅读全文