#include<stdio.h>
#include<stdlib.h>
#define Size 10
typedef int Type;
typedef struct Que{
Type *base;
int front;
int rear;
}Que;
void Init(Que *q){
q->base = (Type*)malloc(Size * sizeof(Type));
q->front = q->rear = 0;
循环队列(顺序表)
最新推荐文章于 2023-08-08 16:14:33 发布