plane.h

来自「从课本上弄下来的例子」· C头文件 代码 · 共 17 行

H
17
字号
#include"AllHead.h"

enum Plane_status{null,arriving,departing};

class Plane{
public:
	Plane();
	Plane(int flt,int time,Plane_status status);
	void refuse()const;
	void land(int time)const;
	void fly(int time)const;
	int started()const;
private:
	int flt_num;
	int clock_start;
	Plane_status state;
};

⌨️ 快捷键说明

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