資源簡(jiǎn)介
南航研究生可靠性工程的作業(yè)之一。用于求解網(wǎng)絡(luò)的最小路集。基于VC++,使用的是CS2008。本著開(kāi)源的精神發(fā)布在網(wǎng)上。作者

代碼片段和文件信息
//?kekao.cpp?:?Defines?the?class?behaviors?for?the?application.
//
#include?“stdafx.h“
#include?“kekao.h“
#include?“kekaoDlg.h“
#ifdef?_DEBUG
#define?new?DEBUG_NEW
#undef?THIS_FILE
static?char?THIS_FILE[]?=?__FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
//?CKekaoApp
BEGIN_MESSAGE_MAP(CKekaoApp?CWinApp)
//{{AFX_MSG_MAP(CKekaoApp)
//?NOTE?-?the?ClassWizard?will?add?and?remove?mapping?macros?here.
//????DO?NOT?EDIT?what?you?see?in?these?blocks?of?generated?code!
//}}AFX_MSG
ON_COMMAND(ID_HELP?CWinApp::onhelp)
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
//?CKekaoApp?construction
CKekaoApp::CKekaoApp()
{
//?TODO:?add?construction?code?here
//?Place?all?significant?initialization?in?InitInstance
}
/////////////////////////////////////////////////////////////////////////////
//?The?one?and?only?CKekaoApp?object
CKekaoApp?theApp;
/////////////////////////////////////////////////////////////////////////////
//?CKekaoApp?initialization
BOOL?CKekaoApp::InitInstance()
{
AfxEnableControlContainer();
//?Standard?initialization
//?If?you?are?not?using?these?features?and?wish?to?reduce?the?size
//??of?your?final?executable?you?should?remove?from?the?following
//??the?specific?initialization?routines?you?do?not?need.
#ifdef?_AFXDLL
Enable3dControls(); //?Call?this?when?using?MFC?in?a?shared?DLL
#else
Enable3dControlsStatic(); //?Call?this?when?linking?to?MFC?statically
#endif
CKekaoDlg?dlg;
m_pMainWnd?=?&dlg;
int?nResponse?=?dlg.DoModal();
if?(nResponse?==?IDOK)
{
//?TODO:?Place?code?here?to?handle?when?the?dialog?is
//??dismissed?with?OK
}
else?if?(nResponse?==?IDCANCEL)
{
//?TODO:?Place?code?here?to?handle?when?the?dialog?is
//??dismissed?with?Cancel
}
//?Since?the?dialog?has?been?closed?return?FALSE?so?that?we?exit?the
//??application?rather?than?start?the?application‘s?message?pump.
return?FALSE;
}
?屬性????????????大小?????日期????時(shí)間???名稱
-----------?---------??----------?-----??----
?????文件????????138??2011-06-04?11:01??最小路\Input.txt
?????文件????????279??2011-06-04?11:56??最小路\Input2.txt
?????文件??????11960??2011-06-04?14:40??最小路\InputBJH.txt
?????文件??????38268??2011-06-04?14:34??最小路\kekao.aps
?????文件???????2049??2011-05-29?16:16??最小路\kekao.cpp
?????文件???????4141??2011-05-29?16:16??最小路\kekao.dsp
?????文件????????518??2011-05-29?16:16??最小路\kekao.dsw
?????文件???????1352??2011-06-02?15:42??最小路\kekao.h
?????文件??????53760??2011-05-29?22:41??最小路\kekao.opt
?????文件????????930??2011-05-29?22:37??最小路\kekao.plg
?????文件???????5957??2011-06-04?14:34??最小路\kekao.rc
?????文件????????875??2011-06-01?14:28??最小路\kekao.sln
????..A..H.?????12800??2011-06-04?14:45??最小路\kekao.suo
?????文件???????7355??2011-06-01?20:17??最小路\kekao.vcproj
?????文件???????1403??2011-06-04?14:45??最小路\kekao.vcproj.XTX.Administrator.user
?????文件??????10048??2011-06-04?11:49??最小路\kekaoDlg.cpp
?????文件???????1710??2011-06-04?11:12??最小路\kekaoDlg.h
?????文件???????5007??2011-06-04?14:40??最小路\Output.txt
?????文件???????3561??2011-05-29?16:16??最小路\ReadMe.txt
?????文件???????1078??2011-05-29?16:16??最小路\res\kekao.ico
?????文件????????397??2011-05-29?16:16??最小路\res\kekao.rc2
?????文件????????907??2011-06-04?11:07??最小路\resource.h
?????文件????????207??2011-05-29?16:16??最小路\StdAfx.cpp
?????文件???????1054??2011-05-29?16:16??最小路\StdAfx.h
?????文件??????????0??2011-06-11?17:22??最小路\夏天翔.txt
?????文件??????19968??2011-06-11?17:22??最小路\幫助.doc
?????目錄??????????0??2011-06-09?11:44??最小路\Debug
?????目錄??????????0??2011-06-02?15:34??最小路\res
?????目錄??????????0??2011-06-11?17:22??最小路
-----------?---------??----------?-----??----
............此處省略2個(gè)文件信息
評(píng)論
共有 條評(píng)論