head.h

来自「学习C语言时」· C头文件 代码 · 共 25 行

H
25
字号
#include "stdafx.h"
#define TRUE 1
#define FALSE 0
#define OK 1
#define ERROR 0
#define INFEASIBLE -1
#define OVERFLOW -2
#define STACK_INIT_SIZE 100
#define STACKINCREMENT 10

typedef char SElemType;
typedef int status;
typedef struct
{
	SElemType *base;
	SElemType *top;
	int stacksize;
}sqstack;

status pop(sqstack &L,SElemType &e);
status function(sqstack &L);
status push(sqstack &L,SElemType e);
status stackEmpty(sqstack L);

⌨️ 快捷键说明

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