资源简介
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个文件信息
- 上一篇:C++酒店管理系统课设
- 下一篇:单纯形法c语言程序代码
相关资源
- VC 邮件发送客户端源码.rar
- 计算机网络编程vc++学生管理系统
- LanScannerMFC程序扫描局域网内主机Mac地
- MFC程序开发之多人聊天室
- 简单时间获取,用c语言编写,客户端
- c++教程网的linux网络编程视频
- Boost Asio C++ 网络编程 中文最新版 PD
- Boost.Asio C++ 网络编程.epub
- vc++做的考试系统c/s模式
- C++实现的FTP服务器
- 网络编程聊天室--操作演示文档
- 多线程流式套接字C/S模式通信程序
- 基于原始套接字实现的PING功能代码
- 博览网 4视频 侯捷老师的C++内存管理
- [免费]2018年C++教程网的linux网络编程视
- linux下C语言实现简易web服务器
- C++网络聊天室程序
- Visual c++ 网络编程 郑阿奇
- MFC:Socket编程—TCP服务端和多个客户
- windows网络编程课程设计源代码
- linux下网络编程TCP客户端和服务器端数
- vc网络聊天室源代码mfc聊天器VC网络编
- c++网络编程之服务端
- 网络编程c++ 获得服务器端文件目录名
- C++教程网Linux网络编程视频教程
- Windows C语言网络编程快速入门.pdf
- MFC网络编程源代码vc网络编程mfc sock
- 陈硕C++网络编程实战百度云链接.rar
- Boost.Asio C++网络编程(中文版)pdf
- DSS中的RTSPclientLib程序
评论
共有 条评论