資源簡(jiǎn)介
用MFC做的旅游路線程序,有最短路徑,最小生成樹等算法
代碼片段和文件信息
//?chuangkou.cpp?:?Defines?the?class?behaviors?for?the?application.
//
#include?“stdafx.h“
#include?“chuangkou.h“
#include?“chuangkouDlg.h“
#include?“Login.h“
#ifdef?_DEBUG
#define?new?DEBUG_NEW
#undef?THIS_FILE
static?char?THIS_FILE[]?=?__FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
//?CChuangkouApp
BEGIN_MESSAGE_MAP(CChuangkouApp?CWinApp)
//{{AFX_MSG_MAP(CChuangkouApp)
//?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()
/////////////////////////////////////////////////////////////////////////////
//?CChuangkouApp?construction
CChuangkouApp::CChuangkouApp()
{
//?TODO:?add?construction?code?here
//?Place?all?significant?initialization?in?InitInstance
}
/////////////////////////////////////////////////////////////////////////////
//?The?one?and?only?CChuangkouApp?object
CChuangkouApp?theApp;
/////////////////////////////////////////////////////////////////////////////
//?CChuangkouApp?initialization
BOOL?CChuangkouApp::InitInstance()
{
AfxEnableControlContainer();
Login?p1;
p1.Create(IDD_DIALOG6);
p1.ShowWindow(SW_SHOW);???
Sleep(1000);
p1.SendMessage(WM_CLOSE);?
skinppLoadSkin(“thinblue.ssk“);
?
//?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
CChuangkouDlg?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í)間???名稱
-----------?---------??----------?-----??----
?????文件??????61920??2006-01-12?18:36??chuangkou\Aquarium.ssk
?????文件?????120550??2006-06-27?09:18??chuangkou\AvalonNanosisVista.ssk
?????文件??????53509??2006-06-27?08:19??chuangkou\Aztec.ssk
?????文件??????61177??2005-12-15?16:35??chuangkou\bbq.ssk
?????文件??????64374??2005-12-05?10:16??chuangkou\Beige.ssk
?????文件????3903492??2009-08-26?19:07??chuangkou\chuangkou.aps
?????文件???????5951??2009-08-26?19:18??chuangkou\chuangkou.clw
?????文件???????2279??2009-07-12?15:28??chuangkou\chuangkou.cpp
?????文件???????6619??2009-07-12?14:48??chuangkou\chuangkou.dsp
?????文件????????524??2009-07-07?17:19??chuangkou\chuangkou.dsw
?????文件???????1357??2009-07-07?17:19??chuangkou\chuangkou.h
?????文件?????238592??2009-08-26?19:18??chuangkou\chuangkou.ncb
?????文件?????301568??2009-08-26?19:18??chuangkou\chuangkou.opt
?????文件???????1117??2009-07-12?15:34??chuangkou\chuangkou.plg
?????文件??????14683??2009-07-12?15:34??chuangkou\chuangkou.rc
?????文件??????12737??2009-07-11?21:48??chuangkou\chuangkouDlg.cpp
?????文件???????1797??2009-07-11?21:45??chuangkou\chuangkouDlg.h
?????文件??????61920??2006-01-12?18:36??chuangkou\Debug\Aquarium.ssk
?????文件????4804678??2009-07-12?15:34??chuangkou\Debug\chuangkou.exe
?????文件?????283308??2009-07-12?15:34??chuangkou\Debug\chuangkou.ilk
?????文件??????16045??2009-07-12?15:33??chuangkou\Debug\chuangkou.obj
?????文件????5507820??2009-07-11?16:52??chuangkou\Debug\chuangkou.pch
?????文件?????476160??2009-07-12?15:34??chuangkou\Debug\chuangkou.pdb
?????文件????3879724??2009-07-12?15:34??chuangkou\Debug\chuangkou.res
?????文件???????2744??2009-07-08?17:02??chuangkou\Debug\chuangkou.sbr
?????文件??????97637??2009-07-11?21:48??chuangkou\Debug\chuangkouDlg.obj
?????文件??????52261??2009-07-12?15:27??chuangkou\Debug\dijikstra.obj
?????文件???????2073??2009-07-08?17:02??chuangkou\Debug\dijikstra.sbr
?????文件??????55866??2005-11-25?21:33??chuangkou\Debug\dogmax2.ssk
?????文件???????9960??2009-07-11?21:37??chuangkou\Debug\dxyh.obj
............此處省略110個(gè)文件信息
評(píng)論
共有 條評(píng)論