📄 process.h
字号:
// Process.h: interface for the Process class.
//
//////////////////////////////////////////////////////////////////////
#if !defined(AFX_PROCESS_H__2F2761A8_3554_4FDA_B4D6_6BD66F3EC394__INCLUDED_)
#define AFX_PROCESS_H__2F2761A8_3554_4FDA_B4D6_6BD66F3EC394__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#define PRIO 50
#include <string>
using namespace std;
class Process
{
public:
string name; /*the name of the process */
int pid; /*Pid. */
int used_time; /*the time of used cpu. */
int need_time;/*the last time of will use cpu*/
string state;/*the state of process.*/
//ready
//block
//running
Process(int b);
virtual ~Process();
};
#endif // !defined(AFX_PROCESS_H__2F2761A8_3554_4FDA_B4D6_6BD66F3EC394__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -