computer.h
来自「pixil 最新的嵌入linux 應用程序集,別的地方很難下載」· C头文件 代码 · 共 28 行
H
28 行
#ifndef COMPUTER_H#define COMPUTER_Hclass Computer{ /*structure for Computers */ private: int check_intersect(int, int, int); public: int type; /*CPU type */ int os; /*current OS */ int x, y; /*location */ int busy; /*is the computer being used? */ int setup(int i); void draw(); int find_stray(); int oncomputer(int locx, int locy); int compatible(int system); int determineOS(); static const int TOASTER = 0; /* computer 0 is a toaster */ static const int PC = 5; /* type>=PC means the computer is a PC */ static const int OFFSET = 4; /* offset of screen from 0,0 */ static const int BORDER = 50; /* BORDER pixels free on all sides */};#endif
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?