/******************************************************************************* * INTEL CONFIDENTIAL * Copyright 2007 Intel C…
stack algorithm 源代码
汇集 stack algorithm 相关的电路原理图、PCB工程文件、单片机/FPGA源代码、数据手册与应用设计方案。
/************************************************** * Essential C++ -- Stanley Lippman * Addison-Wesley * ISBN 0-201-48518-…
//: C09:Stack4.h // From Thinking in C++, 2nd Edition // Available at http://www.BruceEckel.com // (c) Bruce Eckel 2000 // Cop…
//: C16:ValueStack.h // From Thinking in C++, 2nd Edition // Available at http://www.BruceEckel.com // (c) Bruce Eckel 2000 //…
//: C06:Stack3.h // From Thinking in C++, 2nd Edition // Available at http://www.BruceEckel.com // (c) Bruce Eckel 2000 // Cop…
//: C05:Stack2.h // From Thinking in C++, 2nd Edition // Available at http://www.BruceEckel.com // (c) Bruce Eckel 2000 // Cop…
//: C04:Stack1.cpp // From Thinking in C++, 2nd Edition // Available at http://www.BruceEckel.com // (c) Bruce Eckel 2000 // C…
//: C0A:Stack4.h // From Thinking in C++, 2nd Edition // Available at http://www.BruceEckel.com // (c) Bruce Eckel 2000 // Cop…
//顺序堆栈的实现linearStack1.cpp #include "linearStack1.h" //创建有序或无序栈 void Stack::CreateStack(int m,int mark) {ElemType x,a[LEN]; …
//顺序栈的类定义stack1.h class Stack {private: DataType *data; int maxSize; int top; public: //创建空栈 void SetStack(int n)…