資源簡介
最短路徑用Dijkstra算法實現的MFC編程 ,用畫筆將點連接起來

代碼片段和文件信息
//?INPUT.cpp?:?implementation?file
//
#include?“stdafx.h“
#include?“shortest?path.h“
#include?“INPUT.h“
#ifdef?_DEBUG
#define?new?DEBUG_NEW
#undef?THIS_FILE
static?char?THIS_FILE[]?=?__FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
//?CINPUT?dialog
CINPUT::CINPUT(CWnd*?pParent?/*=NULL*/)
:?CDialog(CINPUT::IDD?pParent)
{
//{{AFX_DATA_INIT(CINPUT)
m_start?=?0;
m_end?=?0;
//}}AFX_DATA_INIT
}
void?CINPUT::DoDataExchange(CDataExchange*?pDX)
{
CDialog::DoDataExchange(pDX);
//{{AFX_DATA_MAP(CINPUT)
DDX_Text(pDX?IDC_EDIT3?m_start);
DDX_Text(pDX?IDC_EDIT4?m_end);
//}}AFX_DATA_MAP
}
BEGIN_MESSAGE_MAP(CINPUT?CDialog)
//{{AFX_MSG_MAP(CINPUT)
//?NOTE:?the?ClassWizard?will?add?message?map?macros?here
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
//?CINPUT?message?handlers
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????文件??????10352??2009-05-25?18:28??shortest?path\Debug\INPUT.obj
?????文件??????20063??2009-05-25?18:28??shortest?path\Debug\MainFrm.obj
?????文件????3543132??2009-05-25?19:57??shortest?path\Debug\shortest?path.exe
?????文件?????436708??2009-05-25?19:57??shortest?path\Debug\shortest?path.ilk
?????文件??????23457??2009-05-25?19:04??shortest?path\Debug\shortest?path.obj
?????文件????5505248??2009-05-25?18:28??shortest?path\Debug\shortest?path.pch
?????文件?????500736??2009-05-25?19:57??shortest?path\Debug\shortest?path.pdb
?????文件????2843088??2009-05-25?19:30??shortest?path\Debug\shortest?path.res
?????文件??????15182??2009-05-25?18:28??shortest?path\Debug\shortest?pathDoc.obj
?????文件??????44593??2009-05-25?19:57??shortest?path\Debug\shortest?pathView.obj
?????文件?????105762??2009-05-25?18:28??shortest?path\Debug\StdAfx.obj
?????文件?????222208??2009-05-25?19:57??shortest?path\Debug\vc60.idb
?????文件?????364544??2009-05-25?19:57??shortest?path\Debug\vc60.pdb
?????文件????????956??2009-05-24?21:44??shortest?path\INPUT.cpp
?????文件???????1184??2009-05-24?21:44??shortest?path\INPUT.h
?????文件???????2514??2009-05-16?20:58??shortest?path\MainFrm.cpp
?????文件???????1581??2009-05-16?20:58??shortest?path\MainFrm.h
?????文件???????4472??2009-05-16?20:58??shortest?path\ReadMe.txt
?????文件????2271470??2009-05-24?12:43??shortest?path\res\1.bmp
?????文件????1274174??2009-05-24?12:03??shortest?path\res\2.bmp
?????文件?????563886??2009-05-24?12:19??shortest?path\res\3.bmp
?????文件???????1078??2009-05-16?20:58??shortest?path\res\shortest?path.ico
?????文件????????405??2009-05-16?20:58??shortest?path\res\shortest?path.rc2
?????文件???????1078??2009-05-16?20:58??shortest?path\res\shortest?pathDoc.ico
?????文件???????1078??2009-05-16?20:58??shortest?path\res\Toolbar.bmp
?????文件????????874??2009-05-24?21:54??shortest?path\resource.h
?????文件????2880512??2009-05-25?19:30??shortest?path\shortest?path.aps
?????文件???????2862??2009-05-25?19:58??shortest?path\shortest?path.clw
?????文件???????4321??2009-05-16?20:58??shortest?path\shortest?path.cpp
?????文件???????4965??2009-05-25?19:58??shortest?path\shortest?path.dsp
............此處省略18個文件信息
- 上一篇:opengl c++讀取obj文件
- 下一篇:DevC++ 4.9
評論
共有 條評論