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

📄 fifo.h

📁 本程序给出了SSD5实验课中Optional Exercise2的参考程序 内附有详细的注释 下载后请仔细参照源代码进行分析 切莫完全搬照
💻 H
字号:
#ifndef FIFO_ZHUBICEN
#define FIFO_ZHUBICEN

#include "simulator.h"
class fifo:public simulator
{
protected:
	queue<event> waiting;
	priority_queue<event> priority_waiting;
	void simulate_arbitrary(string file);
	void simulate_bigfirst(string file);
	//virtual void load
public:
	fifo(int seconds_per_page);
	virtual void simulate(string file);

};
//overload operator < to use the priority_queue
bool operator < (event evtleft,event evtright);

#endif

⌨️ 快捷键说明

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