?? lxlqueue.h
字號:
// lxlqueue.h: interface for the lxlqueue class.
//
//////////////////////////////////////////////////////////////////////
#if !defined(AFX_LXLQUEUE_H__F9DEA13C_B3B7_45C8_881C_5A9D19667F8C__INCLUDED_)
#define AFX_LXLQUEUE_H__F9DEA13C_B3B7_45C8_881C_5A9D19667F8C__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#include "lxlink.h"
class lxlqueue
{
public:
int length()const;
bool frontvalue(int&)const;
bool dequeue(int&);
bool enqueue(const int&);
void clear();
lxlqueue(int);
virtual ~lxlqueue();
private:
int size;
lxlink* rear;
lxlink* front;
};
#endif // !defined(AFX_LXLQUEUE_H__F9DEA13C_B3B7_45C8_881C_5A9D19667F8C__INCLUDED_)
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -