📄 wall_osdlg.h
字号:
// WALL_OSDlg.h : header file
//
#if !defined(AFX_WALL_OSDLG_H__6E0042B6_23CF_4E56_8274_81772F36CE71__INCLUDED_)
#define AFX_WALL_OSDLG_H__6E0042B6_23CF_4E56_8274_81772F36CE71__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
/////////////////////////////////////////////////////////////////////////////
// CWALL_OSDlg dialog
class CWALL_OSDlg : public CDialog
{
// Construction
public:
CWALL_OSDlg(CWnd* pParent = NULL); // standard constructor
// Dialog Data
//{{AFX_DATA(CWALL_OSDlg)
enum { IDD = IDD_WALL_OS_DIALOG };
//}}AFX_DATA
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CWALL_OSDlg)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
// 最近最久未使用算法函数,将页面请求序列questSequence
// 按照LRU算法进行页面置换的结果显示在列表框中
void LRU(int * questSequence);
// 先进先出算法函数,将页面请求序列questSequence
// 按照FIFO算法进行页面置换的结果显示在列表框中
void FIFO(int * questSequence);
// 最优算法函数,将页面请求序列questSequence
// 按照OPT算法进行页面置换的结果显示在列表框中
void Optimal(int * questSequence);
// 总页面数
int m_pageAll;
// 申请到的页面数
int m_pageGot;
// 请求序列的长度
int m_questLength;
HICON m_hIcon;
// Generated message map functions
//{{AFX_MSG(CWALL_OSDlg)
virtual BOOL OnInitDialog();
afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
afx_msg void OnPaint();
afx_msg HCURSOR OnQueryDragIcon();
afx_msg void OnSelchangeComboPageAll();
afx_msg void OnSelchangeComboPageGot();
afx_msg void OnSelchangeComboPageNum();
afx_msg void OnButtonStart();
afx_msg void OnButtonClear();
afx_msg void OnSelchangeListResult();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_WALL_OSDLG_H__6E0042B6_23CF_4E56_8274_81772F36CE71__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -