代码搜索:SqStack
找到约 774 项符合「SqStack」的源代码
代码结果 774
www.eeworm.com/read/390847/8437748
h sqstack.h
#include"sj.h" /*调用自定义库函数*/
typedef struct
{ ElemType elem[MAXSIZE];
int top;
}SeqStack; /*定义顺序栈结构*/
void InitStack_Sq(
www.eeworm.com/read/389439/8519857
java sqstack.java
package exercise0;
//定义栈
public class SqStack {
public final int MAXSIZE =65535;
private int top = 0;
private int stacksize;
private OneState[] base;
public SqStack() {
stacksiz
www.eeworm.com/read/387605/8663178
h sqstack.h
//Sequence-Stack class is declared
//SqStack.h
#if !defined (_SQSTACK_H_CPP)
#define _SQSTACK_H_CPP
#if _MSC_VER > 100
#pragma once
#endif
template
class SqStack{
public:
www.eeworm.com/read/380561/9142669
h sqstack.h
/*
Name: Stack.h
Copyright: math@jnu
Author: arcst1715@gmail.com
Date: 05-10-08 21:36
Description: Stack header file
*/
#include "status.h"
#define STACK_INIT_SIZE 100 //存储空
www.eeworm.com/read/380187/9158214
cpp sqstack.cpp
#include
#include
#include "../header/SqStack.h"
Status InitStack(SqStack &S)
{
S.base = (SElemType*)malloc(sizeof(SElemType) * STACK_INIT_SIZE);
if(!S.base) exit(OVER
www.eeworm.com/read/183256/9174266
c sqstack.c
www.eeworm.com/read/182729/9193939
cpp sqstack.cpp
// SqStack.cpp: implementation of the SqStack class.
//
//////////////////////////////////////////////////////////////////////
#include "SqStack.h"
////////////////////////////////////////////
www.eeworm.com/read/182729/9193940
h sqstack.h
// SqStack.h: interface for the SqStack class.
//
//////////////////////////////////////////////////////////////////////
#include
#include
#include
#if !defined(AFX_
www.eeworm.com/read/179306/9361330
h sqstack.h
/* 此文件为实现栈的头文件 */
#define STACK_INIT_SIZE 100; /*存储空间初始分配量*/
#define STACKINCREMENT 10; /*存储空间分配增量*/
#define MaxStackSize 100
#define OVERFLOW -1
#define ERROR -2
#define OK 1
#define NULL 0
www.eeworm.com/read/469693/6925341
h sqstack.h
#ifndef SQSTACK_H
#define SQSTACK_H
#include"exc.h"
template
class AbsStack{
public:
AbsStack(){}
virtual ~AbsStack(){}
virtual int IsEmpty()const=0;
virtual int IsFull()c