資源簡介
一款非常帥的軍棋源代碼,分服務器/客戶端,里面還有詳細數據庫及說明文檔 VC++6編譯通過

代碼片段和文件信息
//?CGameHallframe.cpp?:?Defines?the?class?behaviors?for?the?application.
//
#include?“stdafx.h“
#include?“CGameHallframe.h“
#include?“MainFrm.h“
#include?“CGameHallframeDoc.h“
#include?“CGameHallframeView.h“
#ifdef?_DEBUG
#define?new?DEBUG_NEW
#undef?THIS_FILE
static?char?THIS_FILE[]?=?__FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
//?CCGameHallframeApp
BEGIN_MESSAGE_MAP(CCGameHallframeApp?CWinApp)
//{{AFX_MSG_MAP(CCGameHallframeApp)
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()
/////////////////////////////////////////////////////////////////////////////
//?CCGameHallframeApp?construction
CCGameHallframeApp::CCGameHallframeApp()
{
//?TODO:?add?construction?code?here
//?Place?all?significant?initialization?in?InitInstance
}
/////////////////////////////////////////////////////////////////////////////
//?The?one?and?only?CCGameHallframeApp?object
CCGameHallframeApp?theApp;
/////////////////////////////////////////////////////////////////////////////
//?CCGameHallframeApp?initialization
BOOL?CCGameHallframeApp::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(CCGameHallframeDoc)
RUNTIME_CLASS(CMainframe)???????//?main?SDI?frame?window
RUNTIME_CLASS(CCGameHallframeView));
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?
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????文件????2502656??2006-05-12?11:21??軍旗源代碼\客戶端.exe
?????文件??????49152??2005-12-22?14:56??軍旗源代碼\服務器.exe
?????文件?????299008??2006-05-30?17:10??軍旗源代碼\用戶說明書.doc
?????文件??????46412??2005-12-22?10:54??軍旗源代碼\源程序\CServerfr
?????文件???????3229??2006-05-08?16:31??軍旗源代碼\源程序\CServerfr
?????文件???????4347??2005-12-13?10:53??軍旗源代碼\源程序\CServerfr
?????文件???????5084??2005-12-22?14:56??軍旗源代碼\源程序\CServerfr
?????文件????????547??2005-12-13?11:44??軍旗源代碼\源程序\CServerfr
?????文件???????1422??2005-12-13?10:53??軍旗源代碼\源程序\CServerfr
?????文件?????115712??2006-05-08?16:31??軍旗源代碼\源程序\CServerfr
?????文件??????55808??2006-05-08?16:31??軍旗源代碼\源程序\CServerfr
?????文件???????4413??2005-12-22?14:57??軍旗源代碼\源程序\CServerfr
?????文件??????13536??2005-12-22?10:54??軍旗源代碼\源程序\CServerfr
?????文件???????1920??2005-12-22?11:04??軍旗源代碼\源程序\CServerfr
?????文件???????1609??2005-12-13?10:53??軍旗源代碼\源程序\CServerfr
?????文件???????1502??2005-12-16?10:26??軍旗源代碼\源程序\CServerfr
?????文件???????1366??2005-12-13?10:53??軍旗源代碼\源程序\CServerfr
?????文件??????17606??2005-12-22?10:40??軍旗源代碼\源程序\CServerfr
?????文件???????3454??2006-05-08?12:31??軍旗源代碼\源程序\CServerfr
?????文件???????2536??2005-12-22?11:03??軍旗源代碼\源程序\CServerfr
?????文件???????1581??2005-12-13?10:53??軍旗源代碼\源程序\CServerfr
?????文件???????4663??2005-12-13?10:53??軍旗源代碼\源程序\CServerfr
?????文件????????919??2005-12-16?13:48??軍旗源代碼\源程序\CServerfr
?????文件???????1550??2006-05-08?14:55??軍旗源代碼\源程序\CServerfr
?????文件????????681??2005-12-13?14:07??軍旗源代碼\源程序\CServerfr
?????文件???????3383??2005-12-19?09:33??軍旗源代碼\源程序\CServerfr
?????文件????????933??2005-12-18?19:30??軍旗源代碼\源程序\CServerfr
?????文件????????214??2005-12-13?10:53??軍旗源代碼\源程序\CServerfr
?????文件???????1137??2005-12-15?11:29??軍旗源代碼\源程序\CServerfr
?????文件???????1078??2005-12-22?10:43??軍旗源代碼\源程序\CServerfr
............此處省略105個文件信息
- 上一篇:VC MFC操作Excel 20個 源代碼合集
- 下一篇:有限元平面應力
評論
共有 條評論