資源簡介
五子棋 貪吃蛇 俄羅斯方塊 黑白棋 連連看 推箱子 掃雷等7個小游戲 C++源碼
VC6.0 下編譯運行。

代碼片段和文件信息
//?BoxMan.cpp?:?Defines?the?class?behaviors?for?the?application.
//
#include?“stdafx.h“
#include?“BoxMan.h“
#include?“BoxManDlg.h“
#ifdef?_DEBUG
#define?new?DEBUG_NEW
#undef?THIS_FILE
static?char?THIS_FILE[]?=?__FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
//?CBoxManApp
BEGIN_MESSAGE_MAP(CBoxManApp?CWinApp)
//{{AFX_MSG_MAP(CBoxManApp)
//?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()
/////////////////////////////////////////////////////////////////////////////
//?CBoxManApp?construction
CBoxManApp::CBoxManApp()
{
//?TODO:?add?construction?code?here
//?Place?all?significant?initialization?in?InitInstance
}
/////////////////////////////////////////////////////////////////////////////
//?The?one?and?only?CBoxManApp?object
CBoxManApp?theApp;
/////////////////////////////////////////////////////////////////////////////
//?CBoxManApp?initialization
BOOL?CBoxManApp::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
CBoxManDlg?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;
}
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????文件???????7163??2009-09-08?16:20??經典小游戲大集合(C++?源碼)\經典小游戲大集合\Othello\ChessBoard.cpp
?????文件????????995??2009-09-08?17:21??經典小游戲大集合(C++?源碼)\經典小游戲大集合\Othello\ChessBoard.h
?????文件???????1667??2009-09-08?14:40??經典小游戲大集合(C++?源碼)\經典小游戲大集合\Othello\DataStruct.h
?????文件??????17040??2009-09-08?17:08??經典小游戲大集合(C++?源碼)\經典小游戲大集合\Othello\dispose.cpp
?????文件???????1028??2009-09-08?11:25??經典小游戲大集合(C++?源碼)\經典小游戲大集合\Othello\HelpDlg.cpp
?????文件???????1190??2009-08-20?17:02??經典小游戲大集合(C++?源碼)\經典小游戲大集合\Othello\HelpDlg.h
?????文件?????134640??2011-01-26?15:19??經典小游戲大集合(C++?源碼)\經典小游戲大集合\Othello\Othello.aps
?????文件???????1663??2011-01-26?15:30??經典小游戲大集合(C++?源碼)\經典小游戲大集合\Othello\Othello.clw
?????文件???????2077??2009-09-08?10:25??經典小游戲大集合(C++?源碼)\經典小游戲大集合\Othello\Othello.cpp
?????文件???????5208??2009-09-08?14:35??經典小游戲大集合(C++?源碼)\經典小游戲大集合\Othello\Othello.dsp
?????文件????????539??2009-09-08?13:18??經典小游戲大集合(C++?源碼)\經典小游戲大集合\Othello\Othello.dsw
?????文件???????1335??2009-09-08?10:25??經典小游戲大集合(C++?源碼)\經典小游戲大集合\Othello\Othello.h
?????文件?????181248??2011-01-26?15:31??經典小游戲大集合(C++?源碼)\經典小游戲大集合\Othello\Othello.ncb
?????文件???????2166??2011-01-26?15:29??經典小游戲大集合(C++?源碼)\經典小游戲大集合\Othello\Othello.plg
?????文件???????7510??2009-09-08?14:42??經典小游戲大集合(C++?源碼)\經典小游戲大集合\Othello\Othello.rc
?????文件???????8190??2009-09-08?14:40??經典小游戲大集合(C++?源碼)\經典小游戲大集合\Othello\OthelloDlg.cpp
?????文件???????1867??2009-09-08?14:36??經典小游戲大集合(C++?源碼)\經典小游戲大集合\Othello\OthelloDlg.h
?????文件???????3597??2009-09-08?10:25??經典小游戲大集合(C++?源碼)\經典小游戲大集合\Othello\ReadMe.txt
?????文件???????1739??2009-09-08?14:35??經典小游戲大集合(C++?源碼)\經典小游戲大集合\Othello\Resource.h
?????文件????????209??2009-09-08?10:25??經典小游戲大集合(C++?源碼)\經典小游戲大集合\Othello\StdAfx.cpp
?????文件???????1126??2009-09-08?13:09??經典小游戲大集合(C++?源碼)\經典小游戲大集合\Othello\StdAfx.h
?????文件?????125952??2011-01-26?15:31??經典小游戲大集合(C++?源碼)\經典小游戲大集合\Othello\Othello.opt
?????文件???????4734??2009-09-08?14:23??經典小游戲大集合(C++?源碼)\經典小游戲大集合\Othello\res\chessblack.bmp
?????文件??????73078??2009-09-08?14:23??經典小游戲大集合(C++?源碼)\經典小游戲大集合\Othello\res\chessboard.bmp
?????文件???????4734??2009-09-08?14:23??經典小游戲大集合(C++?源碼)\經典小游戲大集合\Othello\res\chesswhite.bmp
?????文件???????1078??2009-09-08?13:52??經典小游戲大集合(C++?源碼)\經典小游戲大集合\Othello\res\Othello.ico
?????文件????????399??2009-09-08?10:25??經典小游戲大集合(C++?源碼)\經典小游戲大集合\Othello\res\Othello.rc2
????..A..H.?????23040??2010-04-06?15:37??經典小游戲大集合(C++?源碼)\經典小游戲大集合\Othello\res\Thumbs.db
?????文件???????4734??2009-09-08?14:22??經典小游戲大集合(C++?源碼)\經典小游戲大集合\Othello\res\turn1.bmp
?????文件???????4734??2009-09-08?14:22??經典小游戲大集合(C++?源碼)\經典小游戲大集合\Othello\res\turn2.BMP
............此處省略229個文件信息
評論
共有 條評論