91av视频/亚洲h视频/操亚洲美女/外国一级黄色毛片 - 国产三级三级三级三级

  • 大小: 3.2MB
    文件類型: .rar
    金幣: 2
    下載: 0 次
    發布日期: 2023-10-31
  • 語言: 其他
  • 標簽:

資源簡介

封裝了大部分的頁面置換算法FIFO,LRU,NRU,OPT 屬于操作系統課程設計的一部分

資源截圖

代碼片段和文件信息

//?PageReplace.cpp?:?Defines?the?class?behaviors?for?the?application.
//

#include?“stdafx.h“
#include?“PageReplace.h“
#include?“PageReplaceDlg.h“

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

/////////////////////////////////////////////////////////////////////////////
//?CPageReplaceApp

BEGIN_MESSAGE_MAP(CPageReplaceApp?CWinApp)
//{{AFX_MSG_MAP(CPageReplaceApp)
//?NOTE?-?the?ClassWizard?will?add?and?remove?mapping?macros?here.
//????DO?NOT?EDIT?what?you?see?in?these?blocks?of?generated?code!
//}}AFX_MSG
ON_COMMAND(ID_HELP?CWinApp::onhelp)
END_MESSAGE_MAP()

/////////////////////////////////////////////////////////////////////////////
//?CPageReplaceApp?construction

CPageReplaceApp::CPageReplaceApp()
{
//?TODO:?add?construction?code?here
//?Place?all?significant?initialization?in?InitInstance
}

/////////////////////////////////////////////////////////////////////////////
//?The?one?and?only?CPageReplaceApp?object

CPageReplaceApp?theApp;

/////////////////////////////////////////////////////////////////////////////
//?CPageReplaceApp?initialization

BOOL?CPageReplaceApp::InitInstance()
{
AfxEnableControlContainer();

//?Standard?initialization
//?If?you?are?not?using?these?features?and?wish?to?reduce?the?size
//??of?your?final?executable?you?should?remove?from?the?following
//??the?specific?initialization?routines?you?do?not?need.

#ifdef?_AFXDLL
Enable3dControls(); //?Call?this?when?using?MFC?in?a?shared?DLL
#else
Enable3dControlsStatic(); //?Call?this?when?linking?to?MFC?statically
#endif

CPageReplaceDlg?dlg;
m_pMainWnd?=?&dlg;
int?nResponse?=?dlg.DoModal();
if?(nResponse?==?IDOK)
{
//?TODO:?Place?code?here?to?handle?when?the?dialog?is
//??dismissed?with?OK
}
else?if?(nResponse?==?IDCANCEL)
{
//?TODO:?Place?code?here?to?handle?when?the?dialog?is
//??dismissed?with?Cancel
}

//?Since?the?dialog?has?been?closed?return?FALSE?so?that?we?exit?the
//??application?rather?than?start?the?application‘s?message?pump.
return?FALSE;
}

?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----

?????文件??????37144??2010-06-05?23:44??PageReplace\PageReplace.aps

?????文件???????1844??2010-06-05?23:45??PageReplace\PageReplace.clw

?????文件???????2133??2003-01-06?06:53??PageReplace\PageReplace.cpp

?????文件???????4249??2003-01-06?06:53??PageReplace\PageReplace.dsp

?????文件????????547??2003-01-06?06:53??PageReplace\PageReplace.dsw

?????文件???????1379??2003-01-06?06:53??PageReplace\PageReplace.h

?????文件??????74752??2010-06-05?23:45??PageReplace\PageReplace.ncb

?????文件??????53760??2010-06-05?23:45??PageReplace\PageReplace.opt

?????文件????????766??2010-06-05?23:44??PageReplace\PageReplace.plg

?????文件???????6472??2010-06-05?23:44??PageReplace\PageReplace.rc

?????文件??????15441??2010-06-05?23:40??PageReplace\PageReplaceDlg.cpp

?????文件???????3497??2010-06-05?23:39??PageReplace\PageReplaceDlg.dsp

?????文件????????553??2010-06-05?23:39??PageReplace\PageReplaceDlg.dsw

?????文件???????1525??2010-06-04?23:24??PageReplace\PageReplaceDlg.h

?????文件??????50176??2010-06-05?23:39??PageReplace\PageReplaceDlg.ncb

?????文件??????48640??2010-06-05?23:39??PageReplace\PageReplaceDlg.opt

?????文件???????1128??2010-06-05?23:39??PageReplace\PageReplaceDlg.plg

?????文件???????3669??2003-01-06?06:53??PageReplace\ReadMe.txt

?????文件????????965??2003-01-06?07:07??PageReplace\Resource.h

?????文件????????213??2003-01-06?06:53??PageReplace\StdAfx.cpp

?????文件???????1054??2003-01-06?06:53??PageReplace\StdAfx.h

?????文件???????1078??2003-01-06?06:53??PageReplace\res\PageReplace.ico

?????文件????????403??2003-01-06?06:53??PageReplace\res\PageReplace.rc2

?????文件?????118886??2010-06-05?23:44??PageReplace\Debug\PageReplace.exe

?????文件?????300080??2010-06-05?23:44??PageReplace\Debug\PageReplace.ilk

?????文件??????13474??2003-01-06?07:27??PageReplace\Debug\PageReplace.obj

?????文件????5498060??2003-01-06?07:16??PageReplace\Debug\PageReplace.pch

?????文件?????402432??2010-06-05?23:44??PageReplace\Debug\PageReplace.pdb

?????文件???????3436??2010-06-05?23:44??PageReplace\Debug\PageReplace.res

?????文件??????55881??2010-06-05?23:40??PageReplace\Debug\PageReplaceDlg.obj

............此處省略11個文件信息

評論

共有 條評論

相關資源