process.h
来自「计算机操作系统模拟进程管理源代码」· C头文件 代码 · 共 27 行
H
27 行
// Process.h: interface for the Process class.
//
//////////////////////////////////////////////////////////////////////
#if !defined(AFX_PROCESS_H__67362856_77F9_4AA7_A2BE_DE7DD5DA9FD4__INCLUDED_)
#define AFX_PROCESS_H__67362856_77F9_4AA7_A2BE_DE7DD5DA9FD4__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
class Process
{
protected:
int id; //进程大小
char Name[10]; //进程名
public:
char* getName();
void setID(int id1);
int getID();
void setName(char *name);
Process();
virtual ~Process();
};
#endif // !defined(AFX_PROCESS_H__67362856_77F9_4AA7_A2BE_DE7DD5DA9FD4__INCLUDED_)
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?