test.cpp

来自「数据结构中堆栈的具体应用」· C++ 代码 · 共 20 行

CPP
20
字号
#include "OPTRRel.h"
#include "LinkedTypeStack.h"
#include "iostream.h"

//void main1()
//{
//	OPTRRel *M;
//	M=new OPTRRel();
//	cout<<"M->GetRel('^','^')="<<M->GetRel('^','^')<<endl;
//	delete M;
//	LinkedTypeStack<char> *OPND;
//	OPND=new LinkedTypeStack<char>;
//	OPND->Push('a');
//	OPND->Push('b');
//	OPND->Push('c');
//	OPND->Pop();
//	OPND->Pop();
//	OPND->DestroyStack();
//	delete OPND;
//}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?