代码搜索:Stack

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

代码结果 10,000
www.eeworm.com/read/460749/7241743

h stack.h

#ifndef STACK_H #define STACK_H #include class StackDlg : public QDialog { Q_OBJECT public: StackDlg(QWidget *parent = 0, Qt::WindowFlags f1 = 0); QLabel *label1; QLabel *la
www.eeworm.com/read/460749/7241747

pro stack.pro

###################################################################### # Automatically generated by qmake (2.01a) ?? ?? 10 23:18:19 2008 ###############################################################
www.eeworm.com/read/460749/7241748

cpp stack.cpp

#include "stack.h" StackDlg::StackDlg(QWidget *parent, Qt::WindowFlags f1) : QDialog(parent,f1) { setWindowTitle(tr("Stacked Widgets")); list = new QListWidget(this); list->i
www.eeworm.com/read/459616/7270193

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/459616/7270431

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); ~Stack(
www.eeworm.com/read/459616/7270702

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) { cout
www.eeworm.com/read/459417/7275758

h stack.h

typedef char Stack_entry; enum Error_code {success,overflow,underflow}; const int maxstack=10; class aStack { public: aStack(); bool empty() const; Error_code pop(); Error_code t
www.eeworm.com/read/459417/7275759

cpp stack.cpp

#include "stack.h" Error_code aStack::push (const Stack_entry&item) { Error_code outcome=success; if (count>=maxstack) { outcome=overflow; } else entry[count++]=item; return ou
www.eeworm.com/read/458955/7284950

c~ stack.c~

#define TRUE 1 #define FALSE 0 #define STACK_SIZE 50 /*stack at most 50 elem*/ #define STACK_ELEMENT_TYPE char /* Needs to change type for different program !*/ typedef struct { char
www.eeworm.com/read/458955/7284953

c stack.c

#define TRUE 1 #define FALSE 0 #define STACK_SIZE 50 /*stack at most 50 elem*/ #define STACK_ELEMENT_TYPE char /* Needs to change type for different program !*/ typedef struct { STAC