代码搜索:SqStack
找到约 774 项符合「SqStack」的源代码
代码结果 774
www.eeworm.com/read/222762/14675221
cpp pop.cpp
//Pop.cpp
//This program is to Pop SqStack
# include
# include
# include
# define STACK_INIT_SIZE 100
# define STACKINCREMENT 10
# define OK 1
# define ERROR
www.eeworm.com/read/120774/14789626
c 10to8.c
//用栈实现10进制转8进制
#define STACK_INIT_SIZE 100 //存储空间初始分配量
#define STACKINCREMENT 10 //存储空间分配增量
#include
#include
typedef struct
{
int *base; //在栈构造之前和销毁之后,
www.eeworm.com/read/220733/14790455
h stack.h
#include "iostream.h"
#include "stdio.h"
#include "malloc.h"
#define TRUE 1
#define FALSE 0
#define OK 1
#define ERROR 0
#define INFEASIBLE -1
#define OVERFLOW -2
typedef int Status;
www.eeworm.com/read/116855/14951780
h c3-1.h
/* c3-1.h 栈的顺序存储表示 */
#define STACK_INIT_SIZE 10 /* 存储空间初始分配量 */
#define STACKINCREMENT 2 /* 存储空间分配增量 */
struct PosType
{
int x;
int y;
};
typedef struct SElemType
{
i
www.eeworm.com/read/116550/14965946
cpp lru.cpp
#include
#include
# define OVERFLOW 0
# define OK 1
# define ERROR 0
typedef struct QNode{
int ID;
struct QNode * next;
}QNode,*QueuePtr;
typedef struct{
QueuePtr
www.eeworm.com/read/212876/15147261
c tingche.c
#include "stdio.h"
#include "stdlib.h"
#define NULL0
#define ERROR 0
#define OK 1
#define OVERFLOW -1
#define STACK_INIT_SIZE 2/*车库容量*/
/*---------------------------------------------------
www.eeworm.com/read/206115/15299853
h c3-1.h
/* c3-1.h 栈的顺序存储表示 */
#define STACK_INIT_SIZE 10 /* 存储空间初始分配量 */
#define STACKINCREMENT 2 /* 存储空间分配增量 */
typedef struct SqStack
{
SElemType *base; /* 在栈构造之前和销毁之后,base的值为NULL */
SElemT
www.eeworm.com/read/472935/6860353
h c3-1.h
/* c3-1.h 栈的顺序存储表示 */
#define STACK_INIT_SIZE 10 /* 存储空间初始分配量 */
#define STACKINCREMENT 2 /* 存储空间分配增量 */
typedef struct SqStack
{
SElemType *base; /* 在栈构造之前和销毁之后,base的值为NULL */
SElemT
www.eeworm.com/read/294924/8192844
h stack.h
#include
#define STACK_INIT_SIZE 100
#define STACKINCREMENT 10
#define ERROR -1
#define OK 0
typedef int Status;
typedef int Elemtype;
typedef struct{
Elemtype *base;
www.eeworm.com/read/294924/8192848
c stack.c
#include "stack.h"
Status InitStack(SqStack *s)
{ s->base=(Elemtype *)malloc(STACK_INIT_SIZE*sizeof(Elemtype));
if(s->base==0) return ERROR;
s->top=s->base;
//*(s->base)=0;
s->sta