代码搜索:Stack
找到约 10,000 项符合「Stack」的源代码
代码结果 10,000
www.eeworm.com/read/123169/14644048
o stack.o
www.eeworm.com/read/123169/14644054
s stack.s
;/****************************************Copyright (c)**************************************************
;** 广州周立功单片机发展有限公司
;** 研
www.eeworm.com/read/123167/14644197
s stack.s
;/****************************************Copyright (c)**************************************************
;** 广州周立功单片机发展有限公司
;** 研
www.eeworm.com/read/123167/14644227
o stack.o
www.eeworm.com/read/223144/14653971
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/223144/14653984
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/223007/14664937
c a_stack.c
/*
** A stack implemented with a static array. The array size can
** be adjusted only by changing the #define and recompiling
** the module.
*/
#include "stack.h"
#include
#define
www.eeworm.com/read/223007/14664957
h stack.h
/*
** Interface for a stack module
*/
#define STACK_TYPE int /* Type of value on the stack */
/*
** push
** Pushes a new value on the stack. The argument is the value
** to be pushed.
*/
www.eeworm.com/read/122867/14665735
h stack.h
templateclass stack;
template class stacknode
{
friend class stack;
private:
type data;
stacknode* link;
stacknode(type d=0, stacknode
www.eeworm.com/read/122867/14665744
h stack.h
templateclass stack;
template class stacknode
{
friend class stack;
private:
type data;
stacknode* link;
stacknode(type d=0, stacknode