代码搜索:Stack
找到约 10,000 项符合「Stack」的源代码
代码结果 10,000
www.eeworm.com/read/155237/11888427
s stack.s
;/****************************************Copyright (c)**************************************************
;** 广州周立功单片机发展有限公司
;** 研
www.eeworm.com/read/155237/11888446
o stack.o
www.eeworm.com/read/344239/11895872
java stack.java
//: net/mindview/util/Stack.java
// Making a stack from a LinkedList.
package net.mindview.util;
import java.util.LinkedList;
public class Stack {
private LinkedList storage = new Linke
www.eeworm.com/read/257729/11914670
s stack.s
;********************************************************************************************************
; Start of File
;*******************************************************************
www.eeworm.com/read/257578/11920332
java stack.java
/*
* 创建日期 2005-12-25
*
* TODO 要更改此生成的文件的模板,请转至
* 窗口 - 首选项 - Java - 代码样式 - 代码模板
*/
/**
* @author 段成 软件工程0301
*
* TODO 要更改此生成的类型注释的模板,请转至
* 窗口 - 首选项 - Java - 代码样式 - 代码模板
*/
publi
www.eeworm.com/read/154834/11924359
h stack.h
#include
#define STACK_INIT_SIZE 100 //设置栈的初始容量
#define STACKINCREMENT 10 //设置如果栈满后应该再给多分配空间大小
typedef int selemtype; //设置栈中元素类型
typedef struct //栈结构
{ selemtype *b
www.eeworm.com/read/154834/11924374
cpp stack.cpp
#include
#include "stack.h"
void main()
{
hu a;
a.initstack();
a.push(1);
a.push(3);
a.push(7);
cout
www.eeworm.com/read/154628/11941911
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/154628/11941933
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/154585/11944367