代码搜索:Stack
找到约 10,000 项符合「Stack」的源代码
代码结果 10,000
www.eeworm.com/read/221035/14760695
s stack.s
;/****************************************Copyright (c)**************************************************
;** 广州周立功单片机发展有限公司
;** 研
www.eeworm.com/read/221035/14760704
o stack.o
www.eeworm.com/read/121167/14768085
h stack.h
#include
#include
template class Stack{
public:
Stack(int=10);
~Stack(){delete []elements;}
void Push(const Type& item);
Type Pop();
www.eeworm.com/read/121167/14768154
h stack.h
#include
#include
const MaxStack=100;
template class Stack{
public:
Stack(const int=MaxStack);
~Stack(){delete []elements;}
void Push(const Ty
www.eeworm.com/read/120988/14777322
inc stack.inc
;----------------------------------------------------------
; 作者:陈文尧
; 文件:Stack.inc
; 版本:1.04
; 创建日期:2001.08.01
;----------------------------------------------------------
FSTACK struc
st
www.eeworm.com/read/220938/14781709
h stack.h
// Stack.h: interface for the Stack class.
//
//////////////////////////////////////////////////////////////////////
#if !defined(AFX_STACK_H__318C7505_4109_42F0_8C2C_BFD6A005065C__INCLUDED_)
#d
www.eeworm.com/read/120923/14783039
h stack.h
//: C02:Stack.h
// From "Thinking in C++, 2nd Edition, Volume 2"
// by Bruce Eckel & Chuck Allison, (c) 2001 MindView, Inc.
// Available at www.BruceEckel.com.
#include
#include
www.eeworm.com/read/220892/14785157
java stack.java
public interface Stack{
public void push(Object obj) throws Exception;
public Object pop() throws Exception;
public Object getTop() throws Exception;
public boolean notEmpty();
}
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/120429/14803816
java stack.java
import java.util.*;
// Can you spot the "memory leak"?
public class Stack {
private Object[] elements;
private int size = 0;
public Stack(int initialCapacity) {
this.elem