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

  • 大小: 202KB
    文件類型: .zip
    金幣: 2
    下載: 1 次
    發布日期: 2021-06-18
  • 語言: C/C++
  • 標簽: 網絡編程??C/S模式??

資源簡介

VC++ 網絡對戰五子棋游戲(服務端+用戶端)案例完整代碼

資源截圖

代碼片段和文件信息

//?Client.cpp?:?Defines?the?class?behaviors?for?the?application.
//?Download?by?http://www.NewXing.com

#include?“stdafx.h“
#include?“Client.h“

#include?“MainFrm.h“
#include?“ClientDoc.h“
#include?“ClientView.h“

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

/////////////////////////////////////////////////////////////////////////////
//?CClientApp

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

/////////////////////////////////////////////////////////////////////////////
//?CClientApp?construction

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

/////////////////////////////////////////////////////////////////////////////
//?The?one?and?only?CClientApp?object

CClientApp?theApp;

/////////////////////////////////////////////////////////////////////////////
//?CClientApp?initialization

BOOL?CClientApp::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(CClientDoc)
RUNTIME_CLASS(CMainframe)???????//?main?SDI?frame?window
RUNTIME_CLASS(CClientView));
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;
}


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

?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????目錄???????????0??2018-10-18?08:53??VC++?網絡對戰五子棋游戲(服務端+用戶端)\
?????目錄???????????0??2011-02-22?13:35??VC++?網絡對戰五子棋游戲(服務端+用戶端)\Client\
?????文件????????3650??2008-02-01?08:15??VC++?網絡對戰五子棋游戲(服務端+用戶端)\Client\Client.clw
?????文件????????4149??2011-03-16?23:08??VC++?網絡對戰五子棋游戲(服務端+用戶端)\Client\Client.cpp
?????文件????????6023??2007-12-22?23:27??VC++?網絡對戰五子棋游戲(服務端+用戶端)\Client\Client.dsp
?????文件?????????537??2008-03-07?16:30??VC++?網絡對戰五子棋游戲(服務端+用戶端)\Client\Client.dsw
?????文件????????1356??2007-12-20?07:50??VC++?網絡對戰五子棋游戲(服務端+用戶端)\Client\Client.h
?????文件???????11492??2007-12-27?20:22??VC++?網絡對戰五子棋游戲(服務端+用戶端)\Client\Client.rc
?????文件????????1801??2011-03-16?23:08??VC++?網絡對戰五子棋游戲(服務端+用戶端)\Client\ClientDoc.cpp
?????文件????????1475??2007-12-20?07:50??VC++?網絡對戰五子棋游戲(服務端+用戶端)\Client\ClientDoc.h
?????文件???????34104??2011-03-16?23:08??VC++?網絡對戰五子棋游戲(服務端+用戶端)\Client\ClientView.cpp
?????文件????????4491??2007-12-24?19:55??VC++?網絡對戰五子棋游戲(服務端+用戶端)\Client\ClientView.h
?????文件????????4670??2002-07-04?20:26??VC++?網絡對戰五子棋游戲(服務端+用戶端)\Client\down.wav
?????文件????????1536??2007-12-25?19:35??VC++?網絡對戰五子棋游戲(服務端+用戶端)\Client\LoginDlg.cpp
?????文件????????1369??2007-12-23?11:33??VC++?網絡對戰五子棋游戲(服務端+用戶端)\Client\LoginDlg.h
?????文件????????3095??2007-12-25?21:58??VC++?網絡對戰五子棋游戲(服務端+用戶端)\Client\MainFrm.cpp
?????文件????????1871??2007-12-25?13:15??VC++?網絡對戰五子棋游戲(服務端+用戶端)\Client\MainFrm.h
?????文件????????1116??2011-03-16?23:08??VC++?網絡對戰五子棋游戲(服務端+用戶端)\Client\MySplitterWnd.cpp
?????文件?????????751??2007-12-20?10:12??VC++?網絡對戰五子棋游戲(服務端+用戶端)\Client\MySplitterWnd.h
?????文件????????2131??2011-03-16?23:08??VC++?網絡對戰五子棋游戲(服務端+用戶端)\Client\RenjuSocket.cpp
?????文件?????????863??2007-12-23?11:34??VC++?網絡對戰五子棋游戲(服務端+用戶端)\Client\RenjuSocket.h
?????目錄???????????0??2011-02-22?13:29??VC++?網絡對戰五子棋游戲(服務端+用戶端)\Client\res\
?????文件?????1228854??2007-12-20?08:21??VC++?網絡對戰五子棋游戲(服務端+用戶端)\Client\res\bkwood.bmp
?????文件????????3942??2007-12-20?08:21??VC++?網絡對戰五子棋游戲(服務端+用戶端)\Client\res\black.bmp
?????文件????????1078??2007-12-20?07:50??VC++?網絡對戰五子棋游戲(服務端+用戶端)\Client\res\Client.ico
?????文件?????????398??2007-12-20?07:50??VC++?網絡對戰五子棋游戲(服務端+用戶端)\Client\res\Client.rc2
?????文件????????1078??2007-12-20?07:50??VC++?網絡對戰五子棋游戲(服務端+用戶端)\Client\res\ClientDoc.ico
?????文件?????????766??2007-12-22?12:14??VC++?網絡對戰五子棋游戲(服務端+用戶端)\Client\res\cursor2.cur
?????文件?????????766??2007-12-22?12:14??VC++?網絡對戰五子棋游戲(服務端+用戶端)\Client\res\hnwse.cur
?????文件?????????766??2007-12-20?18:42??VC++?網絡對戰五子棋游戲(服務端+用戶端)\Client\res\icon1.ico
?????文件?????????766??2007-12-20?18:42??VC++?網絡對戰五子棋游戲(服務端+用戶端)\Client\res\icon3.ico
............此處省略42個文件信息

評論

共有 條評論