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

資源簡介

用MFC編寫的具有人工智能的五子棋對弈,主要包括人機人人對弈,音樂播放,用戶添加和刪除,查看用戶對弈信息等

資源截圖

代碼片段和文件信息

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

#include?“stdafx.h“
#include?“five.h“

#include?“MainFrm.h“
#include?“fiveDoc.h“
#include?“fiveView.h“

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

/////////////////////////////////////////////////////////////////////////////
//?CFiveApp

BEGIN_MESSAGE_MAP(CFiveApp?CWinApp)
//{{AFX_MSG_MAP(CFiveApp)
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()

/////////////////////////////////////////////////////////////////////////////
//?CFiveApp?construction

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

/////////////////////////////////////////////////////////////////////////////
//?The?one?and?only?CFiveApp?object

CFiveApp?theApp;

/////////////////////////////////////////////////////////////////////////////
//?CFiveApp?initialization

BOOL?CFiveApp::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(CFiveDoc)
RUNTIME_CLASS(CMainframe)???????//?main?SDI?frame?window
RUNTIME_CLASS(CFiveView));
AddDocTemplate(pDocTemplate);

//?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();

return?TRUE;
}


/////////////////////////

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

?????文件????3671040??2013-05-09?17:31??five\Debug\five.bsc

?????文件????1056844??2013-06-05?16:00??five\Debug\five.exe

?????文件?????437032??2013-06-05?16:00??five\Debug\five.ilk

?????文件??????22884??2013-06-05?13:45??five\Debug\five.obj

?????文件????6939320??2013-05-09?16:31??five\Debug\five.pch

?????文件?????574464??2013-06-05?16:00??five\Debug\five.pdb

?????文件?????760500??2013-06-05?13:29??five\Debug\five.res

?????文件??????????0??2013-05-09?17:03??five\Debug\five.sbr

?????文件??????14685??2013-05-09?16:31??five\Debug\fiveDoc.obj

?????文件??????????0??2013-05-09?16:31??five\Debug\fiveDoc.sbr

?????文件??????57841??2013-06-05?16:00??five\Debug\fiveView.obj

?????文件??????????0??2013-05-09?17:31??five\Debug\fiveView.sbr

?????文件?????????94??2013-05-22?12:24??five\Debug\info.txt

?????文件??????12484??2013-05-16?16:50??five\Debug\inputinfo.obj

?????文件??????27143??2013-05-24?15:59??five\Debug\MainFrm.obj

?????文件??????????0??2013-05-09?16:31??five\Debug\MainFrm.sbr

?????文件??????35883??2013-05-24?15:59??five\Debug\Music.obj

?????文件??????19789??2013-06-04?17:00??five\Debug\resultinfo.obj

?????文件??????21242??2013-06-04?17:04??five\Debug\selectinfo.obj

?????文件?????105746??2013-05-09?16:31??five\Debug\StdAfx.obj

?????文件????1373495??2013-05-09?16:31??five\Debug\StdAfx.sbr

?????文件???????4035??2013-05-24?12:37??five\Debug\twopeople.obj

?????文件?????238592??2013-06-05?17:59??five\Debug\vc60.idb

?????文件?????454656??2013-06-05?16:00??five\Debug\vc60.pdb

?????文件?????799992??2013-06-05?13:29??five\five.aps

?????文件???????4357??2013-06-05?18:40??five\five.clw

?????文件???????4173??2013-05-09?09:36??five\five.cpp

?????文件???????5764??2013-05-26?21:26??five\five.dsp

?????文件????????533??2013-05-09?09:36??five\five.dsw

?????文件???????1334??2013-05-09?09:36??five\five.h

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

評論

共有 條評論