⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 def.h

📁 堆栈的实现代码
💻 H
字号:
//Def.h
#include<ctype.h>
#include<malloc.h>
#include<iostream.h>
#include<math.h>
#include<stdlib.h>

#define TRUE 1
#define FALSE 0
#define OK 1
#define ERROR 0
#define INFEASIBLE -1

typedef int Status;
typedef int SElemType;

#define STACK_INIT_SIZE 10
#define STACKINCREMENT 2

typedef struct SqStack
{
  SElemType *base;
  SElemType *top;
  int stacksize;
}SqStack;

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -