def.h

来自「堆栈的实现代码」· C头文件 代码 · 共 25 行

H
25
字号
//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 + =
减小字号Ctrl + -
显示快捷键?