代码搜索:SqStack
找到约 774 项符合「SqStack」的源代码
代码结果 774
www.eeworm.com/read/308482/13700528
h c3-1.h
/* c3-1.h 栈的顺序存储表示 */
#define STACK_INIT_SIZE 10 /* 存储空间初始分配量 */
#define STACKINCREMENT 2 /* 存储空间分配增量 */
typedef struct SqStack
{
SElemType *base; /* 在栈构造之前和销毁之后,base的值为NULL */
SElemT
www.eeworm.com/read/307670/13717646
h c3-1.h
// c3-1.h 栈的顺序存储表示
#define STACK_INIT_SIZE 10 // 存储空间初始分配量
#define STACKINCREMENT 2 // 存储空间分配增量
struct SqStack
{
SElemType *base; // 在栈构造之前和销毁之后,base的值为NULL
SElemType *top; // 栈顶指针
www.eeworm.com/read/306600/13741488
c 栈的基本操作.c
//文件名:栈的基本操作
//内容:用顺序存储方式实现栈,定义了栈的一系列函数
void InitStack(SqStack *S)
{ /* 构造一个空栈S */
(*S).base=(SElemType *)malloc(STACK_INIT_SIZE*sizeof(SElemType));
if(!(*S).base)
exit(OVERFLOW
www.eeworm.com/read/440959/6283773
h c3-1.h
/* c3-1.h 栈的顺序存储表示 */
#define STACK_INIT_SIZE 10 /* 存储空间初始分配量 */
#define STACKINCREMENT 2 /* 存储空间分配增量 */
typedef struct SqStack
{
SElemType *base; /* 在栈构造之前和销毁之后,base的值为NULL */
SElemT
www.eeworm.com/read/315848/6289745
h c3-1.h
/* c3-1.h 栈的顺序存储表示 */
#define STACK_INIT_SIZE 10 /* 存储空间初始分配量 */
#define STACKINCREMENT 2 /* 存储空间分配增量 */
typedef struct SqStack
{
SElemType *base; /* 在栈构造之前和销毁之后,base的值为NULL */
SElemT
www.eeworm.com/read/121869/6297067
cpp initstack.cpp
//InitStack.cpp
//This program is to initialize a stack
# include
# include
# include
# define STACK_INIT_SIZE 100
# define STACKINCREMENT 10
# define OK 1
#
www.eeworm.com/read/121869/6297073
cpp gettop.cpp
//GetTop.cpp
//This program is to get the top element of SqStack
# include
# include
# include
# define STACK_INIT_SIZE 100
# define STACKINCREMENT 10
# define
www.eeworm.com/read/121869/6297074
cpp push.cpp
//Push.cpp
//This program is to Push SqStack
# include
# include
# include
# define STACK_INIT_SIZE 100
# define STACKINCREMENT 10
# define OK 1
# define ERRO
www.eeworm.com/read/121869/6297078
cpp pop.cpp
//Pop.cpp
//This program is to Pop SqStack
# include
# include
# include
# define STACK_INIT_SIZE 100
# define STACKINCREMENT 10
# define OK 1
# define ERROR
www.eeworm.com/read/382398/6321474
h c3-1.h
// c3-1.h 栈的顺序存储表示
#define STACK_INIT_SIZE 10 // 存储空间初始分配量
#define STACKINCREMENT 2 // 存储空间分配增量
struct SqStack
{
SElemType *base; // 在栈构造之前和销毁之后,base的值为NULL
SElemType *top; // 栈顶指针