代码搜索:Stack
找到约 10,000 项符合「Stack」的源代码
代码结果 10,000
www.eeworm.com/read/358191/10194169
out stack.out
Could not complete additions
Stack should be 123
Stack top is 3
Deleted 3
Deleted 2
Deleted 1
Last delete failed
www.eeworm.com/read/358191/10194410
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/358191/10194690
cpp stack.cpp
// test formula based 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) {
www.eeworm.com/read/358115/10195991
s stack.s
;;; Copyright ARM Ltd 2001. All rights reserved.
AREA Stacks, DATA, NOINIT
EXPORT top_of_stacks
; Create dummy variable used to locate stacks in memory
top_of_stacks
www.eeworm.com/read/357852/10200139
h stack.h
#ifndef _STACK_H_
#define _STACK_H_
#include
template
class Stack : private QList {
public:
bool isEmpty() const {
return QList::isEmpty();
}
T pop() {
www.eeworm.com/read/357852/10200183
h stack.h
//start id="classdef"
#include
/**
A node in a linked list
*/
template class Node {
public:
Node(T invalue): m_Value(invalue), m_Next(0) {}
~Node() ;
T getValue()
www.eeworm.com/read/357734/10202218
cpp stack.cpp
// Stack.cpp: implementation of the Stack class.
//
//////////////////////////////////////////////////////////////////////
#include "stdafx.h"
#include "Stack.h"
#include
////
www.eeworm.com/read/357734/10202223
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/357088/10216303
lst stack.lst
ARM Macro Assembler Page 1
1 00000000 ;/****************************************Copyright (c)*
*************************************************
www.eeworm.com/read/357088/10216331