代码搜索:SqStack
找到约 774 项符合「SqStack」的源代码
代码结果 774
www.eeworm.com/read/150150/12309176
h car.h
#include
#include
#include
#include
#define OK 1
#define eRROR 0
#define OVeRFLOW -2
typedef int status;
typedef struct{
char type;
char nu
www.eeworm.com/read/337673/12351085
cpp test.cpp
//二叉树
#include
#include
const int stack_init_size=100;
const int stackincrement=10;
typedef struct bitnode
{
char data;
bitnode * lchild,* rchild;
}* bitree;
typede
www.eeworm.com/read/251182/12359660
cpp bo3-1.cpp
// bo3-1.cpp 顺序栈(存储结构由c3-1.h定义)的基本操作(9个)
Status InitStack(SqStack &S)
{ // 构造一个空栈S
if(!(S.base=(SElemType *)malloc(STACK_INIT_SIZE*sizeof(SElemType))))
exit(OVERFLOW); // 存储分配失败
S.t
www.eeworm.com/read/336615/12429803
cpp 2.cpp
/* Note:Your choice is C IDE */
#include
#include
#include
#define length 11
#define STACK_INIT_SIZE 31
#define OK 1
#define ERROR 0
#define OVERFLOW 0
#d
www.eeworm.com/read/234343/14115689
cpp 算术表达式正式版.cpp
#include
#include
typedef struct sqstack
{
char *base;
char *top;
int ssize;
}sqstack;
int initstack(sqstack *s)
{
(*s).base=(char *)malloc(10*sizeof(char));
www.eeworm.com/read/131567/14137771
cpp 实习2.3.cpp
# include
#define OK 1
#define ERROR 0
typedef struct{
int * base;
int *top;
}SqStack;
void init(SqStack &S)
{
S.base=new int [100];
if(!S.base)
return ;
S.top=
www.eeworm.com/read/233105/14169298
c 栈操作.c
#include
#include
#define MAX 20
#define ElemType int
#define S (*p)
struct SqStack
{
ElemType elem[MAX];
int top;
};
main()
{
struct SqStack *q;
int i,y,cord;
www.eeworm.com/read/127961/14324685
cpp bo3-1.cpp
// bo3-1.cpp 顺序栈(存储结构由c3-1.h定义)的基本操作(9个)
Status InitStack(SqStack &S)
{ // 构造一个空栈S
if(!(S.base=(SElemType *)malloc(STACK_INIT_SIZE*sizeof(SElemType))))
exit(OVERFLOW); // 存储分配失败
S.t
www.eeworm.com/read/127307/14361828
c bitree.c
#include
/*------------- 二叉树的二叉链表存储表示 -------------*/
typedef enum {OVERFLOW = -1, ERROR = 0, FALSE = 0, TRUE, OK} Status;
typedef int TElemType;
typedef struct BiTNode {
TElemTyp
www.eeworm.com/read/227639/14418769
c 栈操作.c
#include
#include
#define MAX 20
#define ElemType int
#define S (*p)
struct SqStack
{
ElemType elem[MAX];
int top;
};
main()
{
struct SqStack *q;
int i,y,cord;