代码搜索:SqStack
找到约 774 项符合「SqStack」的源代码
代码结果 774
www.eeworm.com/read/378477/9229986
cpp match.cpp
#include
#include
#include
#include
#define ERROR 0
#define OK 1
#define TRUE 1
#define FALSE 0
#define OVERFLOW -2
#define STACK_INIT_SIZE 100
www.eeworm.com/read/181815/9236495
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/376627/9311695
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/180019/9322498
cpp 6_56.cpp
#include
struct sqstack
{
char data;
sqstack* top;
};
class stack
{
sqstack * st;
public:
void init()
{
st=NULL;
}
void push(char );
char pop();
};
void stack::p
www.eeworm.com/read/180019/9322525
cpp 6_57.cpp
#include
#include
struct sqstack
{
char data;
sqstack* top;
};
class stack
{
sqstack * st;
public:
void init()
{
st=NULL;
}
void push(char );
char pop()
www.eeworm.com/read/374949/9378049
cpp 6_56.cpp
#include
struct sqstack
{
char data;
sqstack* top;
};
class stack
{
sqstack * st;
public:
void init()
{
st=NULL;
}
void push(char );
char pop();
};
void stack::p
www.eeworm.com/read/374949/9378106
cpp 6_57.cpp
#include
#include
struct sqstack
{
char data;
sqstack* top;
};
class stack
{
sqstack * st;
public:
void init()
{
st=NULL;
}
void push(char );
char pop()
www.eeworm.com/read/178850/9383579
h beelzebublang.h
#include
#include
#include //使用pair类型
#include //用于文件操作的头文件
using namespace std;
//---------------抽象数据类型顺序栈的定义------------------//
#define STACK_INIT_SIZE
www.eeworm.com/read/178115/9417989
txt 新建 文本文档 (11).txt
叉树三种遍历的非递归算法
1.先序遍历非递归算法
#define maxsize 100
typedef struct{ Bitree Elem[maxsize]; int top;}SqStack;
void PreOrderUnrec(Bitree t){
SqStack s; Stac
www.eeworm.com/read/178115/9417991
txt 新建 文本文档 (9).txt
二叉树三种遍历的非递归算法(背诵版)
--------------------------------------------------------------------------------
作者:佚名 文章来源:考研考研站 点击数:1173 更新时间:2006-1-4 【字体:小 大】
本贴给出二叉树先序、中序、后序三