代码搜索:MyStack
找到约 249 项符合「MyStack」的源代码
代码结果 249
www.eeworm.com/read/125542/14488340
txt base.txt
#ifndef BASE_H
#define BASE_H
#include
using namespace std;
/*
MyStack 堆栈类的结构 [ 0 1 ... curlen ... size]
[栈底(bottom) ... prt ... ]
*/
#define BASE
www.eeworm.com/read/214341/4909262
java seqstacktest.java
public class SeqStackTest{
public static void main(String[] args){
SeqStack myStack = new SeqStack();
int test[] = {1, 3, 5, 7, 9};
int n=5;
try{
for(int i = 0; i < n; i
www.eeworm.com/read/214341/4909249
java exam3_3.java
public class Exam3_3{
public static void huiWen(String str) throws Exception{
int n = str.length();
SeqStack myStack = new SeqStack(n);
SeqQueue myQueue = new SeqQueue(n);
for(int i
www.eeworm.com/read/214341/4909259
java exam3_2.java
public class Exam3_2{
public static void expIsCorrect(String[] exp,int n) throws Exception{
SeqStack myStack = new SeqStack();
for(int i = 0; i < n; i ++){
if((exp[i].equals(new Str
www.eeworm.com/read/114927/15033911
cpp calculator.cpp
#include"mystack.h"
#include"CalculatorH.h"
#include
#include
void Calculator::AddOperand(double value){
s.push(value);
}
Boolean Calculator::Get2Operand(double &left
www.eeworm.com/read/219654/14871584
h node.h
// 结点类
#pragma once
#include "MyStack.h"
class CNode
{
public:
CNode(void);
virtual ~CNode(void);
enum NodeStatus{UNTAKEN,TAKEN}; //叶结点状态,用于描述是否可用
int m_sign; //左子树高度-右子树高度
www.eeworm.com/read/224980/14558099
cpp parse_cfgfile.cpp
#include "parse_cfgfile.h"
#include
#include
#include "mystack.h"
void load_cfgndvar(struct tree_node **root,char *cfg_filepath)
{
// 还没有写函数体 请补充完整
}
//no
www.eeworm.com/read/303677/13810381
cpp 推理机view.cpp
// 推理机View.cpp : C推理机View 类的实现
//
#include "stdafx.h"
#include "推理机.h"
#include "推理机Doc.h"
#include "inDlg.h"
#include "help.h"
#include "mystack.h"
#include "推理机View.h"
#include "FormulaTr
www.eeworm.com/read/288094/6318579
txt 堆栈的数据结构和操作.txt
//堆栈结构
typedef struct{
HGLOBAL hMem; //堆栈全局内存句柄
POINT *lpMyStack; //指向该句柄的指针
LONG ElementsNum; //堆栈的大小
LONG ptr; //指向栈顶的指针
}MYSTACK;
//初始化堆栈的操作,第二个参数指定堆栈的大小
BOOL InitStack(HWND hWnd,LONG Stack