location.h

来自「《C++语言程序设计(第2版)》配套例题程序,不可多得」· C头文件 代码 · 共 17 行

H
17
字号
//Location.h
#if !defined(_LOCATION_H)
#define _LOCATION_H
class Location
{
   public:
       Location(); 
       Location(int xx,int yy);
       ~Location();
	   void Move(int x,int y);
       int GetX() {return X;}
       int GetY() {return Y;}
  private:
       int  X,Y;
};
#endif

⌨️ 快捷键说明

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