下面是我的代码:
#include<iostream>
using namespace std;
struct Page//页表结构
{
int numPage;
bool flagPage;
int numMemory;
int hardPosition;
};
Page job[7];
void creatJob()//创建Job
{
job[0].numPage=0;
job[0].flagPage=true;
job[0].numMemory=5;
job[0].hardPosition=011;
job[1].numPage=1;
job[1].flagPage=true;
job[1].numMemory=8;
job[1].hardPosition=012;
job[2].numPage