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

  • 大小: 42.98 KB
    文件類型: .rar
    金幣: 1
    下載: 0 次
    發布日期: 2024-12-20
  • 語言: 其他
  • 標簽: 黑白棋??AI??MFC??

資源簡介

自己寫的黑白棋,有簡單的AI,可以雙人對戰或人機對戰。有悔棋功能。有計時功能。

資源截圖

代碼片段和文件信息

//?BW.cpp?:?Defines?the?class?behaviors?for?the?application.
//

#include?“stdafx.h“
#include?“BW.h“

#include?“MainFrm.h“
#include?“BWDoc.h“
#include?“BWView.h“

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

/////////////////////////////////////////////////////////////////////////////
//?CBWApp

BEGIN_MESSAGE_MAP(CBWApp?CWinApp)
//{{AFX_MSG_MAP(CBWApp)
ON_COMMAND(ID_APP_ABOUT?OnAppAbout)
//?NOTE?-?the?ClassWizard?will?add?and?remove?mapping?macros?here.
//????DO?NOT?EDIT?what?you?see?in?these?blocks?of?generated?code!
//}}AFX_MSG_MAP
//?Standard?file?based?document?commands
ON_COMMAND(ID_FILE_NEW?CWinApp::OnFileNew)
ON_COMMAND(ID_FILE_OPEN?CWinApp::OnFileOpen)
//?Standard?print?setup?command
ON_COMMAND(ID_FILE_PRINT_SETUP?CWinApp::OnFilePrintSetup)
END_MESSAGE_MAP()

/////////////////////////////////////////////////////////////////////////////
//?CBWApp?construction

CBWApp::CBWApp()
{
//?TODO:?add?construction?code?here
//?Place?all?significant?initialization?in?InitInstance
}

/////////////////////////////////////////////////////////////////////////////
//?The?one?and?only?CBWApp?object

CBWApp?theApp;

/////////////////////////////////////////////////////////////////////////////
//?CBWApp?initialization

BOOL?CBWApp::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

//?Change?the?registry?key?under?which?our?settings?are?stored.
//?TODO:?You?should?modify?this?string?to?be?something?appropriate
//?such?as?the?name?of?your?company?or?organization.
SetRegistryKey(_T(“Local?AppWizard-Generated?Applications“));

LoadStdProfileSettings();??//?Load?standard?INI?file?options?(including?MRU)

//?Register?the?application‘s?document?templates.??Document?templates
//??serve?as?the?connection?between?documents?frame?windows?and?views.

CSingleDocTemplate*?pDocTemplate;
pDocTemplate?=?new?CSingleDocTemplate(
IDR_MAINframe
RUNTIME_CLASS(CBWDoc)
RUNTIME_CLASS(CMainframe)???????//?main?SDI?frame?window
RUNTIME_CLASS(CBWView));
AddDocTemplate(pDocTemplate);

//?Enable?DDE?Execute?open
EnableShellOpen();
RegisterShellFileTypes(TRUE);

//?Parse?command?line?for?standard?shell?commands?DDE?file?open
CCommandLineInfo?cmdInfo;
ParseCommandLine(cmdInfo);

//?Dispatch?commands?specified?on?the?command?line
if?(!ProcessShellCommand(cmdInfo))
return?FALSE;

//?The?one?and?only?window?has?been?initialized?so?show?and?update?it.
m_pMainWnd->ShowWindow(SW_SHOW);
m_pMainWnd->UpdateWindow()

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

?????文件??????32720??2009-12-10?19:40??BW\BW.APS

?????文件???????2376??2009-12-15?13:30??BW\BW.clw

?????文件???????4283??2009-06-17?19:25??BW\BW.cpp

?????文件???????4593??2009-08-25?23:42??BW\BW.dsp

?????文件????????527??2009-06-17?19:25??BW\BW.dsw

?????文件???????1312??2009-06-17?19:25??BW\BW.h

?????文件??????99328??2009-12-15?13:30??BW\BW.ncb

?????文件??????55808??2009-12-15?13:30??BW\BW.opt

?????文件????????238??2009-12-10?23:23??BW\BW.plg

?????文件??????12316??2009-08-27?19:55??BW\BW.rc

?????文件????????647??2009-06-17?19:25??BW\BW.reg

?????文件??????12422??2009-08-26?22:42??BW\BWDoc.cpp

?????文件???????2478??2009-08-26?22:31??BW\BWDoc.h

?????文件???????6026??2009-08-26?23:04??BW\BWView.cpp

?????文件???????1906??2009-12-10?23:23??BW\BWView.h

?????文件???????2586??2009-08-24?22:22??BW\MainFrm.cpp

?????文件???????1476??2009-08-24?22:19??BW\MainFrm.h

?????文件???????4501??2009-06-17?19:25??BW\ReadMe.txt

?????文件???????3310??2009-08-25?22:50??BW\res\BW.ico

?????文件????????394??2009-06-17?19:25??BW\res\BW.rc2

?????文件???????1078??2009-06-17?19:25??BW\res\BWDoc.ico

?????文件????????766??2009-08-25?22:58??BW\res\timer.ico

?????文件???????2234??2009-08-26?22:09??BW\res\Toolbar.bmp

?????文件????????871??2009-08-26?23:11??BW\resource.h

?????文件????????204??2009-06-17?19:25??BW\StdAfx.cpp

?????文件???????1054??2009-06-17?19:25??BW\StdAfx.h

?????目錄??????????0??2009-08-30?17:11??BW\res

?????目錄??????????0??2009-12-15?13:30??BW

-----------?---------??----------?-----??----

???????????????255454????????????????????28

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

評論

共有 條評論