lxedge.cpp

来自「vc编写的数据结构」· C++ 代码 · 共 25 行

CPP
25
字号
// lxedge.cpp: implementation of the lxedge class.
//
//////////////////////////////////////////////////////////////////////

#include "stdafx.h"
#include "lxedge.h"

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

lxedge::lxedge()
{
	vertex=-1;
	weight=-1;

}


lxedge::lxedge(int v, int w)
{
	vertex=v;
	weight=w;
}

⌨️ 快捷键说明

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