point.cpp

来自「可以进行柱状图」· C++ 代码 · 共 30 行

CPP
30
字号
// 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 + =
减小字号Ctrl + -
显示快捷键?