代码搜索:MyStack
找到约 249 项符合「MyStack」的源代码
代码结果 249
www.eeworm.com/read/337374/12373857
java mystack.java
public class MyStack{
//属性声明部分
private int top;
private int[] array;
private int size;
//构造方法,创建并初始化一个堆栈对象
public MyStack(int size) {
this.size = size;
array = new int[size];
t
www.eeworm.com/read/337374/12373858
class mystack.class
www.eeworm.com/read/224980/14558069
h mystack.h
#ifndef _MY_STACK_H
#define _MY_STACK_H
#include "treeOp.h"
#define MAXL 100
struct mystack
{
int ptr;
struct tree_node* data[MAXL];
};
void init_stack(struct mystack *stk);
www.eeworm.com/read/224980/14558075
cpp mystack.cpp
#include
#include
#include "mystack.h"
void init_stack(struct mystack *stk)
{
stk->ptr = 0;
}
void push_stack(struct mystack *stk, struct tree_node *data)
{
a
www.eeworm.com/read/120603/14797812
dsp mystack.dsp
# Microsoft Developer Studio Project File - Name="myStack" - Package Owner=
# Microsoft Developer Studio Generated Build File, Format Version 6.00
# ** DO NOT EDIT **
# TARGTYPE "Win32 (x86) C
www.eeworm.com/read/120603/14797814
plg mystack.plg
Build Log
--------------------Configuration: myStack - Win32 Debug--------------------
Command Lines
Creating temporary file "C:\WINDOWS\TEMP\R
www.eeworm.com/read/120603/14797816
dsw mystack.dsw
Microsoft Developer Studio Workspace File, Format Version 6.00
# WARNING: DO NOT EDIT OR DELETE THIS WORKSPACE FILE!
###############################################################################
www.eeworm.com/read/120603/14797817
ncb mystack.ncb
www.eeworm.com/read/120603/14797818
opt mystack.opt
www.eeworm.com/read/219654/14871569
h mystack.h
// MyStack.h: interface for the CMyStack class.
//
//////////////////////////////////////////////////////////////////////
#pragma once
#include
using namespace std;
template