代码搜索:SqStack

找到约 774 项符合「SqStack」的源代码

代码结果 774
www.eeworm.com/read/464867/7061536

h stack.h

#define STACK_INIT_SIZE 10 #define STACK_INCREMENT 2 struct SqStack { SElemType *base; SElemType *top; int stacksize; };
www.eeworm.com/read/464867/7061540

cpp stack.cpp

void InitStack(SqStack &S) { S.base =(SElemType*)malloc(sizeof(SElemType)*STACK_INIT_SIZE); if(!S.base ) exit(OVERFLOW); S.top =S.base ; S.stacksize =STACK_INIT_SIZE; } void DestroyStack
www.eeworm.com/read/461110/7233679

h c3-1.h

// c3-1.h 栈的顺序存储表示 #define STACK_INIT_SIZE 10 // 存储空间初始分配量 #define STACK_INCREMENT 2 // 存储空间分配增量 struct SqStack { SElemType *base; // 在栈构造之前和销毁之后,base的值为NULL SElemType *top; // 栈顶指针
www.eeworm.com/read/461110/7233726

h c3-1.h

// c3-1.h 栈的顺序存储表示 #define STACK_INIT_SIZE 10 // 存储空间初始分配量 #define STACK_INCREMENT 2 // 存储空间分配增量 struct SqStack { SElemType *base; // 在栈构造之前和销毁之后,base的值为NULL SElemType *top; // 栈顶指针
www.eeworm.com/read/447789/7545586

h stack.h

#ifndef STACK_H #define STACK_H #define TRUE 1 #define FALSE 0 #define OK 1 #define ERROR 0 #define IBFEASIBLE -1 #define OVERFLOW -2 #define MAXLEN 20 #define MAXSIZE 20 #def
www.eeworm.com/read/441840/7664090

cpp bo3-1.cpp

void InitStack(SqStack &S) { if(!(S.base=(SElemType *)malloc(STACK_INIT_SIZE*sizeof(SElemType)))) exit(OVERFLOW); S.top=S.base; S.stacksize=STACK_INIT_SIZE; } void DestroyStack(SqStack &
www.eeworm.com/read/441840/7664093

h c3-1.h

#define STACK_INIT_SIZE 10 #define STACK_INCREMENT 2 struct SqStack { SElemType *base; SElemType *top; int stacksize; };
www.eeworm.com/read/441423/7670587

h stackimplement.h

// //****************************栈及其操作实现的头文件************************ // StackImplement.h // 本模块使用顺序存储实现栈 // wjluo,2004年3月4日 //*************************************************************
www.eeworm.com/read/441423/7670600

h stackimplement.h

// //****************************栈及其操作实现的头文件************************ // StackImplement.h // 本模块使用顺序存储实现栈 // wjluo,2004年3月4日 //*************************************************************
www.eeworm.com/read/399362/7867085

h stack.h

#include "stdio.h" #include "stdlib.h" #define STACK_INIT_SIZE 100 #define STACKINCREMENT 10 #define Status int /*****************************************************************************