path.cpp

来自「公交查询生成系统 Find.exe可以查询指定站点间的转站方案(可实现无限转)」· C++ 代码 · 共 42 行

CPP
42
字号
// Path.cpp: implementation of the CPath class.
//
//////////////////////////////////////////////////////////////////////

#include "stdafx.h"
#include "find.h"
#include "Path.h"

#ifdef _DEBUG
#undef THIS_FILE
static char THIS_FILE[]=__FILE__;
#define new DEBUG_NEW
#endif

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

CPath::CPath()
{
	name = "";
	line = "";
	father = 0;
	turn = 0;
	g = 0;
	find = false;
}

CPath::~CPath()
{

}

void CPath::Insert(CString n, CString l, long f, bool fi)
{
	name = n;
	line = l;
	father = f;
	find = fi;
}

⌨️ 快捷键说明

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