dictate.cpp

来自「用VC开发的模拟操作系统的页面置换」· C++ 代码 · 共 31 行

CPP
31
字号
// Dictate.cpp: implementation of the CDictate class.
//
//////////////////////////////////////////////////////////////////////

#include "stdafx.h"
#include "WIN页面置换.h"
#include "Dictate.h"

#ifdef _DEBUG
#undef THIS_FILE
static char THIS_FILE[]=__FILE__;
#define new DEBUG_NEW
#endif

//////////////////////////////////////////////////////////////////////
// Construction/Destruction
//////////////////////////////////////////////////////////////////////

CDictate::CDictate()
{
m_memoryblock=0;   //指令所在内存块号
m_logicAdress=0;   //逻辑偏移地址
m_physicsAdress=0; //物理地址
m_page=0; ////指令对应的在程序中的页号
}

CDictate::~CDictate()
{

}

⌨️ 快捷键说明

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