📄 mypoint.cpp
字号:
// Point.cpp: implementation of the CPoint class.
//
//////////////////////////////////////////////////////////////////////
#include "myPoint.h"
//////////////////////////////////////////////////////////////////////
// Construction/Destruction
//////////////////////////////////////////////////////////////////////
CPoint::CPoint()
{
}
CPoint::~CPoint()
{
}
CPoint::CPoint(int16 x, int16 y): m_x(x), m_y(y)
{
}
int16 CPoint::getx() const
{
return m_x;
}
int16 CPoint::gety() const
{
return m_y;
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -