⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 mypoint.cpp

📁 最小生成树的kruskal算法实现 使用mfc显示界面(可以随机生成边)
💻 CPP
字号:
// 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 + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -