mypoint.cpp
来自「在代码中演示使用C++开发的BREW端方便的程序 非常值得初学者学习.」· C++ 代码 · 共 35 行
CPP
35 行
// 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 + =
减小字号Ctrl + -
显示快捷键?