代码搜索:SqStack
找到约 774 项符合「SqStack」的源代码
代码结果 774
www.eeworm.com/read/295928/8134624
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/195543/8142949
cpp 表达式求值.cpp
#include"iostream.h"
#include"stdlib.h"
#include"stdio.h"
#define STACK_INIT_SIZE 10
#define STACKINCREMENT 10
#define ElemType char
#define NULL 0
typedef struct{
ElemType *base;
ElemType
www.eeworm.com/read/195532/8144156
cpp tree.cpp
#include
#include
#include
#define NULL 0
#define STACK_INIT_SIZE 20
#define STACKINCREMENT 5
typedef struct BiTNode
{
char date;
struct BiTNode *lchild,*rc
www.eeworm.com/read/333764/12661427
cpp 四则运算.cpp
#include
#include
#include
using namespace std;
const int STACK_INIT_SIZE=100;
const int STACKINCREMENT=10;
const char OP[7]={'+','-','*','/','(',')','='};
typedef
www.eeworm.com/read/146173/12666360
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/333497/12678378
c shiyanzhong1.c
//******************************************************************************
#include
#include
#define stack_init_size 100;
#define stackincrement 10;
#define lea
www.eeworm.com/read/333154/12700603
c magic language.c
#include
#include
#include
#include
#define OK 1
#define ERROR 0
#define NULL 0
#define OVERFLOW -2
#define MAXSIZE 100
#define stack_init_s
www.eeworm.com/read/332924/12717102
h d1.h
/***************************栈的数据结构*****************************/
typedef struct stacklist
{
SElemType *base;
SElemType *top;
int stacksize;
}SqStack;
www.eeworm.com/read/246592/12718192
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/145150/12749238
cpp mazerecursiontotalpath.cpp
//
//**********************程序说明*******************************
// 该程序是迷宫问题递归求解全部路径的C语言代码,
// 迷宫二维数组表示,初值与教材图3.4一致
// wjluo,2004年3月3日
//****************************************************