代码搜索:Stack

找到约 10,000 项符合「Stack」的源代码

代码结果 10,000
www.eeworm.com/read/456569/7344870

h stack.h

/*------------------------------------------------------------------------*/ /* */ /* STACK.H
www.eeworm.com/read/456533/7345750

h stack.h

// stack.h -- class definition for the stack ADT #ifndef STACK_H_ #define STACK_H_ typedef unsigned long Item; class Stack { private: enum {MAX = 10}; // constant specific to class
www.eeworm.com/read/456533/7345754

cpp stack.cpp

// stack.cpp -- Stack member functions #include "stack.h" Stack::Stack() // create an empty stack { top = 0; } bool Stack::isempty() const { return top == 0; } bool Stack::isf
www.eeworm.com/read/456533/7346055

h stack.h

// stack.h -- class definition for the stack ADT #ifndef STACK_H_ #define STACK_H_ typedef unsigned long Item; class Stack { private: enum {MAX = 10}; // constant specific to class
www.eeworm.com/read/456533/7346059

cpp stack.cpp

// stack.cpp -- Stack member functions #include "stack.h" Stack::Stack() // create an empty stack { top = 0; } bool Stack::isempty() const { return top == 0; } bool Stack::isf
www.eeworm.com/read/456497/7348017

cpp stack.cpp

// Stack.cpp: implementation of the Stack class. // ////////////////////////////////////////////////////////////////////// #include "stdafx.h" #include "Stack.h" #include ////
www.eeworm.com/read/456497/7348022

h stack.h

// Stack.h: interface for the Stack class. // ////////////////////////////////////////////////////////////////////// #if !defined(AFX_STACK_H__A78BF131_18B2_452D_85FA_C84C449363B9__INCLUDED_) #d
www.eeworm.com/read/456386/7350104

c stack.c

#include #include #define Max 100 int *p; int *tos; int *bos; /*添加一个数据放到堆栈对顶端*/ void push(int i) { if(p > bos) { printf("堆栈以满\n"); return; } *p = i; p+
www.eeworm.com/read/456367/7350607

h stack.h

// stack.h -- class definition for the stack ADT #ifndef STACK_H_ #define STACK_H_ typedef unsigned long Item; class Stack { private: enum {MAX = 10}; // constant specific to class
www.eeworm.com/read/456367/7350611

cpp stack.cpp

// stack.cpp -- Stack member functions #include "stack.h" Stack::Stack() // create an empty stack { top = 0; } bool Stack::isempty() const { return top == 0; } bool Stack::isf