📄 point.cpp
字号:
// Point.cpp: implementation of the CPoint class.
//
//////////////////////////////////////////////////////////////////////
#include "stdafx.h"
#include "Point.h"
//////////////////////////////////////////////////////////////////////
// Construction/Destruction
//////////////////////////////////////////////////////////////////////
CPoint::CPoint()
{
x0=0;
y0=0;
}
CPoint::~CPoint()
{
}
void CPoint::SetPoint(int x, int y) //保存当前点的坐标
{
x0=x;
y0=y;
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -