mypoint.cpp
来自「最小生成树的kruskal算法实现 使用mfc显示界面(可以随机生成边)」· C++ 代码 · 共 38 行
CPP
38 行
// MyPoint.cpp: implementation of the MyPoint class.
//
//////////////////////////////////////////////////////////////////////
#include "stdafx.h"
#include "MSTkruskal.h"
#include "MyPoint.h"
#ifdef _DEBUG
#undef THIS_FILE
static char THIS_FILE[]=__FILE__;
#define new DEBUG_NEW
#endif
//////////////////////////////////////////////////////////////////////
// Construction/Destruction
//////////////////////////////////////////////////////////////////////
MyPoint::MyPoint()
{
}
MyPoint::~MyPoint()
{
}
MyPoint::MyPoint(int xx, int yy, int iid)
{
set(xx, yy, iid);
}
MyPoint::MyPoint(const MyPoint& p)
{
set(p.x, p.y, p.id);
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?