⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 mempage2.h

📁 操作系统实验演示代码(三个实验
💻 H
字号:
#if !defined(AFX_MEMPAGE2_H__A234AE51_676C_4C2E_A760_B1CD2ED73D30__INCLUDED_)
#define AFX_MEMPAGE2_H__A234AE51_676C_4C2E_A760_B1CD2ED73D30__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// MemPage2.h : header file
//
#include "Math.h"
#include ".\Graph\Graph.h"
/////////////////////////////////////////////////////////////////////////////
// CMemPage2 dialog
struct POTS
{
	int rate;
};
class CMemPage2 : public CDialog
{
// Construction
public:
	void Draw3dLine();

	CMemPage2(CWnd* pParent = NULL);   // standard constructor
    bool bDraw;
	void DrawText(int x, int y, CString Text);
	void InitGrah();
	CGraph* testGraph;
	BOOL graphComplete;
    CArray<POTS,POTS>potFIFO;
	CArray<POTS,POTS>potOPT;
	CArray<POTS,POTS>potLRU;
  
// Dialog Data
	//{{AFX_DATA(CMemPage2)
	enum { IDD = IDD_TAB_PAGE2 };
	CStatic	m_Draw;
	//}}AFX_DATA


// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CMemPage2)
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:

	// Generated message map functions
	//{{AFX_MSG(CMemPage2)
	virtual BOOL OnInitDialog();
	afx_msg void OnPaint();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_MEMPAGE2_H__A234AE51_676C_4C2E_A760_B1CD2ED73D30__INCLUDED_)

⌨️ 快捷键说明

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