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

📄 proexc.h

📁 里面有5个关于操作系统进程调度的算法源码
💻 H
字号:
#if !defined(AFX_PROEXC_H__B8F9D1FB_E49B_4B17_8EAF_F38860D16C18__INCLUDED_)
#define AFX_PROEXC_H__B8F9D1FB_E49B_4B17_8EAF_F38860D16C18__INCLUDED_

#include <iostream>
#include <conio.h>

using namespace std;

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

class CPCB
{
public:
	CPCB()
	{
		next = 0;
		state = 'W';
		rtime = 0;
	}
	char name[10];
	char state;
	int super;
	int ntime;
	int rtime;
	int ptime;
	CPCB *next;
};

class CProExc  
{
public:
	void displayPro(CPCB *ppcb);
	void Start();
	bool InitializeByFile(char *path);
	CProExc();
	virtual ~CProExc();
private:
	CPCB *first;
	CPCB *last;
	int proTotal;
	int time;
	int timeTotal;
protected:
	void running(CPCB *);
};

#endif // !defined(AFX_PROEXC_H__B8F9D1FB_E49B_4B17_8EAF_F38860D16C18__INCLUDED_)

⌨️ 快捷键说明

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