資源簡(jiǎn)介
八數(shù)碼實(shí)現(xiàn)的游戲,有圖形界面(c++)
可以下來看一下

代碼片段和文件信息
//?ai2.cpp?:?Defines?the?class?behaviors?for?the?application.
//
#include?“stdafx.h“
#include?“ai2.h“
#include?“ai2Dlg.h“
#ifdef?_DEBUG
#define?new?DEBUG_NEW
#undef?THIS_FILE
static?char?THIS_FILE[]?=?__FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
//?CAi2App
BEGIN_MESSAGE_MAP(CAi2App?CWinApp)
//{{AFX_MSG_MAP(CAi2App)
//?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()
/////////////////////////////////////////////////////////////////////////////
//?CAi2App?construction
CAi2App::CAi2App()
{
//?TODO:?add?construction?code?here
//?Place?all?significant?initialization?in?InitInstance
}
/////////////////////////////////////////////////////////////////////////////
//?The?one?and?only?CAi2App?object
CAi2App?theApp;
/////////////////////////////////////////////////////////////////////////////
//?CAi2App?initialization
BOOL?CAi2App::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
CAi2Dlg?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í)間???名稱
-----------?---------??----------?-----??----
?????文件??????21696??2008-11-18?19:27??自動(dòng)拼圖作業(yè)\ai2.aps
?????文件???????1553??2008-11-18?19:29??自動(dòng)拼圖作業(yè)\ai2.clw
?????文件???????2021??2007-12-06?15:42??自動(dòng)拼圖作業(yè)\ai2.cpp
?????文件???????4105??2007-12-06?15:42??自動(dòng)拼圖作業(yè)\ai2.dsp
?????文件????????529??2007-12-06?15:42??自動(dòng)拼圖作業(yè)\ai2.dsw
?????文件???????1291??2007-12-06?15:42??自動(dòng)拼圖作業(yè)\ai2.h
?????文件??????74752??2008-11-18?19:29??自動(dòng)拼圖作業(yè)\ai2.ncb
?????文件??????49664??2008-11-18?19:29??自動(dòng)拼圖作業(yè)\ai2.opt
?????文件???????1532??2008-11-18?19:28??自動(dòng)拼圖作業(yè)\ai2.plg
?????文件???????6067??2008-01-22?16:00??自動(dòng)拼圖作業(yè)\ai2.rc
?????文件??????11769??2007-12-09?18:09??自動(dòng)拼圖作業(yè)\ai2Dlg.cpp
?????文件???????1390??2007-12-06?19:33??自動(dòng)拼圖作業(yè)\ai2Dlg.h
?????文件???????1342??2008-11-18?19:29??自動(dòng)拼圖作業(yè)\log.txt
?????文件???????3525??2007-12-06?15:42??自動(dòng)拼圖作業(yè)\ReadMe.txt
?????文件??????32768??2008-11-18?19:28??自動(dòng)拼圖作業(yè)\Release\ai2.exe
?????文件???????9328??2008-11-18?19:28??自動(dòng)拼圖作業(yè)\Release\ai2.obj
?????文件????5683396??2008-11-18?19:28??自動(dòng)拼圖作業(yè)\Release\ai2.pch
?????文件???????3268??2008-11-18?19:28??自動(dòng)拼圖作業(yè)\Release\ai2.res
?????文件??????49099??2008-11-18?19:28??自動(dòng)拼圖作業(yè)\Release\ai2Dlg.obj
?????文件????????768??2008-11-18?19:28??自動(dòng)拼圖作業(yè)\Release\StdAfx.obj
?????文件??????58368??2008-11-18?19:29??自動(dòng)拼圖作業(yè)\Release\vc60.idb
?????文件???????1078??2007-12-06?15:42??自動(dòng)拼圖作業(yè)\res\ai2.ico
?????文件????????395??2007-12-06?15:42??自動(dòng)拼圖作業(yè)\res\ai2.rc2
????..A.SH.??????3072??2007-12-06?21:11??自動(dòng)拼圖作業(yè)\res\Thumbs.db
?????文件???????1233??2007-12-06?21:01??自動(dòng)拼圖作業(yè)\resource.h
?????文件????????205??2007-12-06?15:42??自動(dòng)拼圖作業(yè)\StdAfx.cpp
?????文件???????1054??2007-12-06?15:42??自動(dòng)拼圖作業(yè)\StdAfx.h
?????目錄??????????0??2008-11-18?19:28??自動(dòng)拼圖作業(yè)\Release
?????目錄??????????0??2007-12-09?18:30??自動(dòng)拼圖作業(yè)\res
?????目錄??????????0??2008-11-18?19:29??自動(dòng)拼圖作業(yè)
............此處省略3個(gè)文件信息
評(píng)論
共有 條評(píng)論