91av视频/亚洲h视频/操亚洲美女/外国一级黄色毛片 - 国产三级三级三级三级

資源簡介

迷宮的結構布局可自定義設置,從迷宮入口走進迷宮,迷宮中設置很多墻壁,對前進方向形成了多處障礙。需要在迷宮中尋找通路以到達出口,對學習數據結構者有幫助。

資源截圖

代碼片段和文件信息

//?MainFrm.cpp?:?implementation?of?the?CMainframe?class
//

#include?“stdafx.h“
#include?“迷宮算法.h“

#include?“MainFrm.h“

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

/////////////////////////////////////////////////////////////////////////////
//?CMainframe

IMPLEMENT_DYNCREATE(CMainframe?CframeWnd)

BEGIN_MESSAGE_MAP(CMainframe?CframeWnd)
//{{AFX_MSG_MAP(CMainframe)
//?NOTE?-?the?ClassWizard?will?add?and?remove?mapping?macros?here.
//????DO?NOT?EDIT?what?you?see?in?these?blocks?of?generated?code?!
ON_WM_CREATE()
//}}AFX_MSG_MAP
END_MESSAGE_MAP()

static?UINT?indicators[]?=
{
ID_SEPARATOR???????????//?status?line?indicator
ID_INDICATOR_ROWCOLUMN
};

/////////////////////////////////////////////////////////////////////////////
//?CMainframe?construction/destruction

CMainframe::CMainframe()
{
//?TODO:?add?member?initialization?code?here

}

CMainframe::~CMainframe()
{
}

int?CMainframe::OnCreate(LPCREATESTRUCT?lpCreateStruct)
{
if?(CframeWnd::OnCreate(lpCreateStruct)?==?-1)
return?-1;


if?(!m_wndToolBar.CreateEx(this?TBstyle_FLAT?WS_CHILD?|?WS_VISIBLE?|?CBRS_TOP
|?CBRS_GRIPPER?|?CBRS_TOOLTIPS?|?CBRS_FLYBY?|?CBRS_SIZE_DYNAMIC)?||
!m_wndToolBar.LoadToolBar(IDR_MAINframe))
{
TRACE0(“未能創建工具欄\n“);
return?-1;??????//?未能創建
}
m_wndToolBar.GetToolBarCtrl().HideButton(ID_PAUSETRUE);


AddDefineMazeToolBar();


if?(!m_wndStatusBar.Create(this)?||
!m_wndStatusBar.SetIndicators(indicators
??sizeof(indicators)/sizeof(UINT)))
{
TRACE0(“未能創建狀態欄\n“);
return?-1;??????//?未能創建
}
this->m_wndStatusBar.SetPaneInfo(1ID_INDICATOR_ROWCOLUMN?SBPS_NOBORDERS|SBPS_POPOUT?100);



//?TODO:?如果不需要工具欄可停靠,則刪除這三行
m_wndToolBar.EnableDocking(CBRS_ALIGN_ANY);
this->m_wndToolBar.EnableDocking(CBRS_ALIGN_ANY);
this->m_wndToolBarDefineMaze.EnableDocking(CBRS_ALIGN_ANY);

EnableDocking(CBRS_ALIGN_ANY);
DockControlBar(&m_wndToolBar);

this->RecalcLayout();//一定要先加上這句
CRect?rect;
this->m_wndToolBar.GetWindowRect(&rect);
rect.OffsetRect(10);
this->DockControlBar(&this->m_wndToolBarDefineMazeAFX_IDW_DOCKBAR_TOP&rect);

return?0;
}

BOOL?CMainframe::PreCreateWindow(CREATESTRUCT&?cs)
{
if(?!CframeWnd::PreCreateWindow(cs)?)
return?FALSE;
//?TODO:?Modify?the?Window?class?or?styles?here?by?modifying
//??the?CREATESTRUCT?cs

return?TRUE;
}

/////////////////////////////////////////////////////////////////////////////
//?CMainframe?diagnostics

#ifdef?_DEBUG
void?CMainframe::AssertValid()?const
{
CframeWnd::AssertValid();
}

void?CMainframe::Dump(CDumpContext&?dc)?const
{
CframeWnd::Dump(dc);
}

#endif?//_DEBUG

/////////////////////////////////////////////////////////////////////////////
//?CMainframe?message?handlers



void?CMainframe::SetPaneText(CString?content)
{
this->m_wndStatusBar.SetPaneText(0content);
}

void?CMainframe::SetPaneOfRolc

?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----

?????文件??????47760??2009-03-04?05:36??迷宮益智游戲\1?生成迷宮演示.JPG

?????文件??????20906??2009-03-04?05:37??迷宮益智游戲\2?系統參數設置.JPG

?????文件??????19401??2009-03-04?05:38??迷宮益智游戲\3?迷宮布局設置.JPG

?????文件??????23821??2009-03-04?05:39??迷宮益智游戲\4?堆棧算法結果.JPG

?????文件??????23437??2009-03-04?05:39??迷宮益智游戲\5?隊列算法搜索過程.JPG

?????文件??????20950??2009-03-04?05:39??迷宮益智游戲\6?隊列算法搜索結果.JPG

?????文件??????27517??2008-08-13?17:04??迷宮益智游戲\BIN\MainFrm.obj

?????文件??????????0??2008-08-13?17:04??迷宮益智游戲\BIN\MainFrm.sbr

?????文件??????72014??2008-08-13?17:04??迷宮益智游戲\BIN\Maze.obj

?????文件??????????0??2008-08-13?17:04??迷宮益智游戲\BIN\Maze.sbr

?????文件?????106579??2008-08-12?00:04??迷宮益智游戲\BIN\MyFreshBrush.dll

?????文件???????3780??2008-08-12?00:04??迷宮益智游戲\BIN\MyFreshBrush.lib

?????文件??????34624??2008-08-13?17:04??迷宮益智游戲\BIN\SettingDlg.obj

?????文件??????????0??2008-08-13?17:04??迷宮益智游戲\BIN\SettingDlg.sbr

?????文件?????105747??2008-08-13?17:04??迷宮益智游戲\BIN\StdAfx.obj

?????文件????1375004??2008-08-13?17:04??迷宮益智游戲\BIN\StdAfx.sbr

?????文件?????246784??2008-12-19?18:35??迷宮益智游戲\BIN\vc60.idb

?????文件?????413696??2008-08-13?17:04??迷宮益智游戲\BIN\vc60.pdb

?????文件????3335168??2008-08-13?17:04??迷宮益智游戲\BIN\迷宮算法.bsc

?????文件?????180304??2008-08-13?17:04??迷宮益智游戲\BIN\迷宮算法.exe

?????文件?????481692??2008-08-13?17:04??迷宮益智游戲\BIN\迷宮算法.ilk

?????文件??????28523??2008-08-13?17:04??迷宮益智游戲\BIN\迷宮算法.obj

?????文件????6869072??2008-08-13?17:04??迷宮益智游戲\BIN\迷宮算法.pch

?????文件?????451584??2008-08-13?17:04??迷宮益智游戲\BIN\迷宮算法.pdb

?????文件??????17336??2008-08-13?17:04??迷宮益智游戲\BIN\迷宮算法.res

?????文件??????????0??2008-08-13?17:04??迷宮益智游戲\BIN\迷宮算法.sbr

?????文件??????27516??2008-08-13?17:04??迷宮益智游戲\BIN\迷宮算法Doc.obj

?????文件??????????0??2008-08-13?17:04??迷宮益智游戲\BIN\迷宮算法Doc.sbr

?????文件??????73545??2008-08-13?17:04??迷宮益智游戲\BIN\迷宮算法View.obj

?????文件??????????0??2008-08-13?17:04??迷宮益智游戲\BIN\迷宮算法View.sbr

............此處省略67個文件信息

評論

共有 條評論