lxastack.h
来自「vc编写的数据结构」· C头文件 代码 · 共 32 行
H
32 行
// lxastack.h: interface for the lxastack class.
//
//////////////////////////////////////////////////////////////////////
#if !defined(AFX_LXASTACK_H__85484559_A2F6_4A59_A315_4BC1F0D3921D__INCLUDED_)
#define AFX_LXASTACK_H__85484559_A2F6_4A59_A315_4BC1F0D3921D__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#include "lxlink.h"
class lxastack
{
public:
int length()const;
bool topvalue(int&);
bool pop(int&);
bool push(const int&);
void clear();
lxastack(int );
virtual ~lxastack();
private:
int* listarray;
int top;
int size;
};
#endif // !defined(AFX_LXASTACK_H__85484559_A2F6_4A59_A315_4BC1F0D3921D__INCLUDED_)
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?