📄 sqqueue.h
字号:
#include "iostream.h"
#include <malloc.h>
#include "stdlib.h"
#include <math.h>
#include "stdio.h"
#include <process.h> // exit()
#include <io.h> // eof()
typedef int Status ;
#define OK 1;
#define TRUE 1;
#define ERROR -1;
#define FALSE 0;
#define MAXSIZE 100;
typedef int QElemType;
struct SqQueue
{
QElemType * base;//初始化的动态分配空间;
int front;//头指针,指向队列头元素;
int rear;//尾指针,指向队列尾元素的下一个位置。
};
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -