代码搜索:Stack
找到约 10,000 项符合「Stack」的源代码
代码结果 10,000
www.eeworm.com/read/330219/12906326
h stack.h
//stack.h
#ifndef STACK
#define STACK
struct Node{
int a;
Node* next;
};
class Stack{
public:
Stack();
~Stack();
void Put(int item);
int Get();
protected:
Node* head;
www.eeworm.com/read/330219/12906348
cpp stack.cpp
//stack.cpp
#include "stack.h"
#include
#include
Stack::Stack():head(NULL){}
void Stack::Put(int item)
{
Node* p = new Node;
p->a = item;
p->next = head;
www.eeworm.com/read/330149/12912356
java stack.java
import java.util.*;
public class Stack
{
Vector stk;
public Stack()
{
stk = new Vector();
}
//----------------------------------------
public void push(Object obj)
{
stk.ad
www.eeworm.com/read/330149/12912456
class stack.class
www.eeworm.com/read/330149/12912506
java stack.java
import java.util.*;
public class Stack
{
Vector stk;
public Stack()
{
stk = new Vector();
}
//----------------------------------------
public void push(Object obj)
{
stk.ad
www.eeworm.com/read/330149/12912591
class stack.class
www.eeworm.com/read/142806/12917575
h stack.h
/*
*
* Copyright (c) 1994
* Hewlett-Packard Company
*
* Permission to use, copy, modify, distribute and sell this software
* and its documentation for any purpose is hereby granted without fee,
www.eeworm.com/read/142788/12920619
h stack.h
#ifndef __STACK_H
#define __STACK_H
template
class CStack
{
public:
CStack (int bMemCopyable = 0, long nGrowBy = 128);
~CStack();
int Push (T& item); // returns zero on fa
www.eeworm.com/read/142700/12930198
o stack.o
www.eeworm.com/read/142700/12930251
s stack.s
;/****************************************Copyright (c)**************************************************
;** 广州周立功单片机发展有限公司
;** 研