資源簡介
實現(xiàn) 基于ACCESS 2003數(shù)據(jù)庫的 公交查詢系統(tǒng) MFC 公交 C++ 最短路徑 最少換乘
代碼片段和文件信息
//?BusManageSystem.cpp?:?Defines?the?class?behaviors?for?the?application.
//
#include?“stdafx.h“
#include?“BusManageSystem.h“
#include?“BusManageSystemDlg.h“
//#include??//ODBC數(shù)據(jù)庫API頭文件?
//#include??//包含數(shù)據(jù)庫頭文件?
#ifdef?_DEBUG
#define?new?DEBUG_NEW
#undef?THIS_FILE
static?char?THIS_FILE[]?=?__FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
//?CBusManageSystemApp
BEGIN_MESSAGE_MAP(CBusManageSystemApp?CWinApp)
//{{AFX_MSG_MAP(CBusManageSystemApp)
//?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()
/////////////////////////////////////////////////////////////////////////////
//?CBusManageSystemApp?construction
CBusManageSystemApp::CBusManageSystemApp()
{
//?TODO:?add?construction?code?here
//?Place?all?significant?initialization?in?InitInstance
}
/////////////////////////////////////////////////////////////////////////////
//?The?one?and?only?CBusManageSystemApp?object
CBusManageSystemApp?theApp;
/////////////////////////////////////////////////////////////////////////////
//?CBusManageSystemApp?initialization
BOOL?CBusManageSystemApp::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
CBusManageSystemDlg?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;
}
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????目錄???????????0??2013-07-07?10:55??BusManageSystem少量站點可換乘\
?????文件??????153600??2013-07-06?09:18??BusManageSystem少量站點可換乘\bus.mdb
?????文件?????7192576??2013-07-06?23:56??BusManageSystem少量站點可換乘\bus1.mdb
?????文件???????88064??2013-07-06?15:42??BusManageSystem少量站點可換乘\busline.mdb
?????文件??????249856??2013-07-06?23:55??BusManageSystem少量站點可換乘\busline1.mdb
?????文件????11057852??2013-07-06?23:52??BusManageSystem少量站點可換乘\BusManageSystem.aps
?????文件????????4547??2013-07-07?10:34??BusManageSystem少量站點可換乘\BusManageSystem.clw
?????文件????????2283??2013-07-02?17:20??BusManageSystem少量站點可換乘\BusManageSystem.cpp
?????文件????????5767??2013-07-03?21:53??BusManageSystem少量站點可換乘\BusManageSystem.dsp
?????文件?????????555??2013-07-02?13:57??BusManageSystem少量站點可換乘\BusManageSystem.dsw
?????文件????????1423??2013-07-02?13:57??BusManageSystem少量站點可換乘\BusManageSystem.h
?????文件??????427008??2013-07-07?10:35??BusManageSystem少量站點可換乘\BusManageSystem.ncb
?????文件???????51712??2013-07-07?10:35??BusManageSystem少量站點可換乘\BusManageSystem.opt
?????文件????????2962??2013-07-06?15:41??BusManageSystem少量站點可換乘\BusManageSystem.plg
?????文件???????10775??2013-07-05?11:04??BusManageSystem少量站點可換乘\BusManageSystem.rc
?????文件????????6456??2013-07-03?21:23??BusManageSystem少量站點可換乘\BusManageSystemDlg.cpp
?????文件????????1673??2013-07-03?21:06??BusManageSystem少量站點可換乘\BusManageSystemDlg.h
?????文件????????3406??2013-07-03?21:48??BusManageSystem少量站點可換乘\change12.cpp
?????文件????????1320??2013-07-03?21:44??BusManageSystem少量站點可換乘\change12.h
?????目錄???????????0??2013-07-06?17:03??BusManageSystem少量站點可換乘\Debug\
?????文件?????5891072??2013-07-06?15:41??BusManageSystem少量站點可換乘\Debug\BusManageSystem.bsc
?????文件????15663233??2013-07-06?15:41??BusManageSystem少量站點可換乘\Debug\BusManageSystem.exe
?????文件?????2982164??2013-07-06?15:41??BusManageSystem少量站點可換乘\Debug\BusManageSystem.ilk
?????文件???????13267??2013-07-06?00:22??BusManageSystem少量站點可換乘\Debug\BusManageSystem.obj
?????文件?????7676988??2013-07-06?00:22??BusManageSystem少量站點可換乘\Debug\BusManageSystem.pch
?????文件?????4457472??2013-07-06?15:41??BusManageSystem少量站點可換乘\Debug\BusManageSystem.pdb
?????文件????11041688??2013-07-05?11:04??BusManageSystem少量站點可換乘\Debug\BusManageSystem.res
?????文件???????????0??2013-07-06?00:22??BusManageSystem少量站點可換乘\Debug\BusManageSystem.sbr
?????文件???????38837??2013-07-06?00:22??BusManageSystem少量站點可換乘\Debug\BusManageSystemDlg.obj
?????文件???????????0??2013-07-06?00:22??BusManageSystem少量站點可換乘\Debug\BusManageSystemDlg.sbr
?????文件???????26629??2013-07-06?00:22??BusManageSystem少量站點可換乘\Debug\change12.obj
............此處省略37個文件信息
評論
共有 條評論