代码搜索:SqStack
找到约 774 项符合「SqStack」的源代码
代码结果 774
www.eeworm.com/read/386886/8720164
cpp 商品货架.cpp
#include
#include
typedef int SElemType;
typedef struct
{ //建立顺序栈存储结构
SElemType *base;
SElemType *top;
int stacksize;
www.eeworm.com/read/287060/8728541
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/386062/8766470
c paking.c
#include
#include
#include
#define N 2
#define M 5
#define True 1
#define False 0
typedef struct{
int num;
int arrtime;
}ElemType;
typedef struct{
www.eeworm.com/read/382766/9000715
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/381857/9068284
txt suanfa.txt
1.先序遍历非递归算法
#define maxsize 100
typedef struct
{
Bitree Elem[maxsize];
int top;
}SqStack;
void PreOrderUnrec(Bitree t)
{
SqStack s;
StackInit(s);
p=t;
while (p!=null || !StackEmpty(s))
www.eeworm.com/read/282606/9080440
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/184013/9126216
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/380561/9142659
h bitree.h
#include "..\\header\\status.h"
#define TElemType char
typedef enum {L,R} tagtype;
//二叉树节点的定义
typedef struct BiNode {
TElemType data;
struct BiNode *lchild, *rchild; //左右孩子指针
tagtype
www.eeworm.com/read/181921/9226780
txt 快速排序的非递归算法.txt
#include
#include
#include
#define MAX 100
typedef struct
{
int ll;
int lr;
}STR;
typedef struct /*结构体定义*/
{
STR help[MAX];
int top;
}SQ
www.eeworm.com/read/181921/9226783
cpp 快速排序.cpp
#include
#include
#include
#define MAX 100
typedef struct
{
int ll;
int lr;
}STR;
typedef struct /*结构体定义*/
{
STR help[MAX];
int top;
}SQ