?? rstack.h
字號(hào):
// rstack.h: interface for the rstack class.
//
//////////////////////////////////////////////////////////////////////
#if !defined(AFX_RSTACK_H__E6CB1462_08C4_471D_BFA7_41417E1B4724__INCLUDED_)
#define AFX_RSTACK_H__E6CB1462_08C4_471D_BFA7_41417E1B4724__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
class rstack
{
public:
int top(int &s, int &e);
rstack(int size);
virtual ~rstack();
int pop(int &s, int &e);
void push(int s, int e);
private:
int *m_sstack; //狀態(tài)棧
int *m_estack; //符號(hào)棧
int m_sp; //棧頂指針
int m_size;
};
#endif // !defined(AFX_RSTACK_H__E6CB1462_08C4_471D_BFA7_41417E1B4724__INCLUDED_)
?? 快捷鍵說(shuō)明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -