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

  • 大小: 11KB
    文件類型: .rar
    金幣: 2
    下載: 1 次
    發布日期: 2021-01-07
  • 語言: C/C++
  • 標簽:

資源簡介

用C語言來模擬操作系統的存儲管理,主要包括:分頁存儲管理,分段存儲管理,段頁式存儲管理.

資源截圖

代碼片段和文件信息

//?Address.cpp?:?Defines?the?entry?point?for?the?console?application.
//

#include?“stdafx.h“
#include?“math.h“

int?const?M?=?100;
int?m_block1[4]?=?{2134};
int?m_block2[2]?=?{89};
int?m_block3[1]?=?{10};
int?m_block4[3]?=?{576};
int?m_block5[2]?=?{1112};

struct?workchart//作業表
{
int?worknum;//作業號
int?length;//頁表長度
};

struct?Pagechart?//頁表
{
int?num;//頁號
int?flag;//塊狀態
};

struct?Segment?//段表
{
int?length;
int?start;
int?flag;
};

void?Output(int?m_array[M])
{
for?(int?i?=0?;?i? {
cout?< if(i?%10?==?0)
{
cout?< }
}

}
void?shif(int?m_array[M]?int?a[20])//篩選
{
int?count?=?0;
for(int?i?=?0?;?i? {
if(m_array[i]? {
a[count]?=?m_array[i];
count

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

?????文件???????5271??2011-12-04?14:54??Address\Address.cpp

?????文件???????4548??2011-11-28?22:53??Address\Address.dsp

?????文件????????539??2011-11-28?22:53??Address\Address.dsw

?????文件??????50176??2011-12-04?15:49??Address\Address.ncb

?????文件??????53760??2011-12-04?15:49??Address\Address.opt

?????文件???????1314??2011-12-04?14:54??Address\Address.plg

?????文件???????1214??2011-11-28?22:53??Address\ReadMe.txt

?????文件????????294??2011-11-28?22:53??Address\StdAfx.cpp

?????文件????????792??2011-11-28?22:55??Address\StdAfx.h

?????目錄??????????0??2011-12-20?23:19??Address

-----------?---------??----------?-----??----

???????????????117908????????????????????10


評論

共有 條評論

相關資源