point.cpp

来自「dll的一些学习资料」· C++ 代码 · 共 23 行

CPP
23
字号
// point.cpp: implementation of the point class.
//
//////////////////////////////////////////////////////////////////////
#ifndef DLL_FILE
#define DLL_FILE
#endif

#include "point.h"

//////////////////////////////////////////////////////////////////////
// Construction/Destruction
//////////////////////////////////////////////////////////////////////

point::point()
{
}
point::point(float x_coordinate,float y_coordinate)
{
	x = x_coordinate;
	y = y_coordinate;
}

⌨️ 快捷键说明

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