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

📄 job.h

📁 本人大学毕业设计
💻 H
字号:
//作业控制块
#include"iostream.h"
#include"windows.h"
#include"winbase.h"
#include"time.h"
int job_nums=0;//作业号
class job
{
public:
	char job_name[10];//作业名
	int job_num;//作业号
	int job_size;//作业大小
	int page_n;//记录一个作业所生成的页面数
	char job_time[9];//作业调入的时间
	int mpage_size;//页面记录一下主存页面大小
	void show();//显示作业提示信息
	void showall();//显示作业信息
	void input_information(int,int);//输入作业信息
};
void job::show()
{
	cout<<"\t输入作业名字,作业大小(K/单位)"<<endl;
}
void job::input_information(int job_number,int job_n)
{
	cout<<"\t作业名:";
	cin>>this->job_name;
	cout<<"\t作业大小:";
	cin>>this->job_size;
    
    //job_nums+=job_number;
	this->job_num=job_n+1;
	cout<<"\t提交时间为:....    ";
	_strtime(job_time);
	cout<<this->job_time<<endl;
}
void job::showall()
{
	cout<<"作业名\t作业号\t作业大小\t作业提交时间\t作业最多占用内存块数"<<endl;
}

⌨️ 快捷键说明

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