代码搜索:Stack
找到约 10,000 项符合「Stack」的源代码
代码结果 10,000
www.eeworm.com/read/182361/9206758
h stack.h
/*
*stack.h
* define a stack and its interface;
*AUTHOR:liyangth@gmail.com
*VERSION:1.0;
*DATE:2006-8-9;
*/
#ifndef STACK_H
#define STACK_H
#include
/*the stack's size */
#define STACK_
www.eeworm.com/read/182361/9206759
c stack.c
/*
*stack.h
* difine some function which make the stack run;
*AUTHOR:liyangth@gmail.com;
*VERSION:1.0;
*DATE:2006-8-9;
*/
#include "stack.h"
/*is stack empey?
*PARAM:stack_s*;
*RETURN:
0 : EMPTY;
www.eeworm.com/read/182195/9212483
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/378741/9216964
h stack.h
#ifndef STACK_H
#define STACK_H
template
class StackNode
{
public:
T data;
StackNode *next;
};
template
class Stack
{
public:
Stack():top(
www.eeworm.com/read/378741/9216966
dsp stack.dsp
# Microsoft Developer Studio Project File - Name="stack" - Package Owner=
# Microsoft Developer Studio Generated Build File, Format Version 6.00
# ** DO NOT EDIT **
# TARGTYPE "Win32 (x86) Con
www.eeworm.com/read/378741/9216968
cpp stack.cpp
#include
#include "stack.h"
using namespace std;
int main()
{
Stack stack;
for(int i=0;i
www.eeworm.com/read/378417/9231808
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/378417/9231977
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/181879/9232845
s stack.s
;/****************************************Copyright (c)**************************************************
;** 广州周立功单片机发展有限公司
;** 研
www.eeworm.com/read/181879/9232883
s stack.s
;/****************************************Copyright (c)**************************************************
;** 广州周立功单片机发展有限公司
;** 研