代码搜索:Stack
找到约 10,000 项符合「Stack」的源代码
代码结果 10,000
www.eeworm.com/read/242083/13095968
c stack.c
/*
* Copyright (c) 2000-2008
* Author: Weiming Zhou
*
* Permission to use, copy, modify, distribute and sell this software
* and its documentation for any purpose is hereby granted without f
www.eeworm.com/read/327175/13096406
h stack.h
#include
#include
template class Stack{
public:
Stack(const int=10);
~Stack(){delete []elements;}
void Push(const Type& item);
Type Pop();
Ty
www.eeworm.com/read/139934/13120023
h stack.h
/*作者:华南理工大学 零壹工作室
email:01_mental@163.com*/
#include "malloc.h"
#define NULL 0
#define bsize 20
#define PUSH(var,head) { stack_ch=(byte *)(&var);\
for(stack_i=0;
www.eeworm.com/read/241438/13144398
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/241438/13144531
h stack.h
#ifndef STACK
#define STACK
template
class Stack
{
public:
Stack(int n=10)
{
top=-1;
setCapacity(n);
pool=new T[capacity];
}
~Stack()
{
if(pool!=0)
de
www.eeworm.com/read/241389/13147781
o stack.o
www.eeworm.com/read/241389/13147805
s stack.s
;************************************************************************************************
;**File Name: stack.s
;**Function: lpc21xx initial stack
;*****************************************
www.eeworm.com/read/139529/13150815
h stack.h
#ifndef _stack_h_
#define _stack_h_
class IntStack {
private:
int maxSize;
int size;
int *s;
public:
IntStack(int max);
~IntStack();
int push(int x);
int pop();
www.eeworm.com/read/139529/13150839
cc stack.cc
// ################################################################################
//
// name: stack.cc
//
// author: Martin Pelikan
//
// purpose: the definition of a cla