代码搜索:Stack
找到约 10,000 项符合「Stack」的源代码
代码结果 10,000
www.eeworm.com/read/164767/10089362
h stack.h
#ifndef _LIBSTACK_H
#define _LIBSTACK_H
template
struct stack_tl {
elem_t elem[NR];
int sp;
public: stack_tl()
{
sp = -1;
}
int empty() { return sp == -1; }
int full()
www.eeworm.com/read/360190/10106843
cpp stack.cpp
/*
* This file contains code from "C++ Primer, Fourth Edition", by Stanley B.
* Lippman, Jose Lajoie, and Barbara E. Moo, and is covered under the
* copyright and warranty notices given in that
www.eeworm.com/read/164393/10111243
h stack.h
// file stack.h
// formula-based stack
#ifndef Stack_
#define Stack_
#include "xcept.h"
template
class Stack {
// LIFO objects
public:
Stack(int MaxStackSize = 10);
www.eeworm.com/read/164393/10111264
cpp stack.cpp
// test stack class
#include
#include "stack.h"
void main(void)
{
int x;
Stack S(3);
try {S.Add(1).Add(2).Add(3).Add(4);}
catch (NoMem) {
cout
www.eeworm.com/read/359860/10119856
s stack.s
;;; Copyright ARM Ltd 2001. All rights reserved.
AREA Stacks, DATA, NOINIT
EXPORT UserStack
EXPORT SVCStack
EXPORT UndefStack
EXPORT IRQStack
www.eeworm.com/read/359632/10132631
o stack.o
www.eeworm.com/read/359632/10132728
s stack.s
;/****************************************Copyright (c)**************************************************
;** 广州周立功单片机发展有限公司
;** 研
www.eeworm.com/read/359632/10132773
o stack.o
www.eeworm.com/read/359632/10132807
o stack.o
www.eeworm.com/read/359630/10132950
s stack.s
;/****************************************Copyright (c)**************************************************
;** 广州周立功单片机发展有限公司
;** 研