代码搜索:Stack
找到约 10,000 项符合「Stack」的源代码
代码结果 10,000
www.eeworm.com/read/143944/12829030
h stack.h
#if !defined(AFX_STACK_H__75314E61_4BBF_11D5_9DFE_5254AB1C303A__INCLUDED_)
#define AFX_STACK_H__75314E61_4BBF_11D5_9DFE_5254AB1C303A__INCLUDED_
#include
template
clas
www.eeworm.com/read/244650/12850721
txt stack.txt
#include
#include
#include
#define ERROR 0
#define TRUE 1
#define FALSE 0
#define OK 1
#define EQUAL 1
#define OVERFLOW -1
#define STACK_INIT_SIZE 100
#define S
www.eeworm.com/read/143612/12856475
c stack.c
//堆栈的有关算法
#define MAX 30 // 最多30个元素
#define NULL -1 //失败标志
typedef struct
{
int d[MAX] ; //用数组作为堆栈的储存空间
int top ; //指示栈顶位置的变量
}STACK ; //堆栈类型定义
STACK sq ; //定义堆栈
int PUSH
www.eeworm.com/read/143612/12856498
asm stack.asm
;用户堆栈的有关算法
STACK EQU 1FH ;堆栈所在页面。
BOTTOM EQU 00H ;栈底单元。
N EQU 200 ;堆栈空间范围的字节数。
TOP DATA 3EH ;栈顶指针。
ORG 0000H
LJMP TEST
ORG 100H
TEST: LCALL SETNULL ;初始化空栈
MOV A,#5AH
LCALL DPUSH ;数
www.eeworm.com/read/244164/12880342
s stack.s
;/****************************************Copyright (c)**************************************************
;** 广州周立功单片机发展有限公司
;** 研
www.eeworm.com/read/143159/12893431
h stack.h
#ifndef STACK_CLASS
#define STACK_CLASS
const int MaxStackSize = 1000;
template
class Stack
{
private:
// private data members. stack array, and top
T stacklist[MaxStackSize];
www.eeworm.com/read/143089/12899615
cpp stack.cpp
//: C04:Stack.cpp {O}
// From Thinking in C++, 2nd Edition
// Available at http://www.BruceEckel.com
// (c) Bruce Eckel 2000
// Copyright notice in Copyright.txt
// Linked list with nesting
#inc
www.eeworm.com/read/143089/12899644
h stack.h
//: C04:Stack.h
// From Thinking in C++, 2nd Edition
// Available at http://www.BruceEckel.com
// (c) Bruce Eckel 2000
// Copyright notice in Copyright.txt
// Nested struct in linked list
#ifnde
www.eeworm.com/read/143035/12903278
ncb stack.ncb
www.eeworm.com/read/143035/12903279