资源简介
在vc6.0下开发的一个多人聊天室程序,里面有源码、文档。可用于课设和自己学习。
希望对大家在帮助!!!

代码片段和文件信息
// Client3.cpp : Defines the class behaviors for the application.
//
#include “stdafx.h“
#include “Client3.h“
#include “Client3Dlg.h“
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CClient3App
BEGIN_MESSAGE_MAP(CClient3App CWinApp)
//{{AFX_MSG_MAP(CClient3App)
// NOTE - the ClassWizard will add and remove mapping macros here.
// DO NOT EDIT what you see in these blocks of generated code!
//}}AFX_MSG
ON_COMMAND(ID_HELP CWinApp::onhelp)
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
// CClient3App construction
CClient3App::CClient3App()
{
// TODO: add construction code here
// Place all significant initialization in InitInstance
}
/////////////////////////////////////////////////////////////////////////////
// The one and only CClient3App object
CClient3App theApp;
/////////////////////////////////////////////////////////////////////////////
// CClient3App initialization
BOOL CClient3App::InitInstance()
{
if (!AfxSocketInit())
{
AfxMessageBox(IDP_SOCKETS_INIT_FAILED);
return FALSE;
}
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
CClient3Dlg dlg;
m_pMainWnd = &dlg;
int nResponse = dlg.DoModal();
if (nResponse == IDOK)
{
// TODO: Place code here to handle when the dialog is
// dismissed with OK
}
else if (nResponse == IDCANCEL)
{
// TODO: Place code here to handle when the dialog is
// dismissed with Cancel
}
// Since the dialog has been closed return FALSE so that we exit the
// application rather than start the application‘s message pump.
return FALSE;
}
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
目录 0 2012-06-03 10:13 聊天室程序\
目录 0 2012-06-03 10:14 聊天室程序\Client3\
文件 21596 2012-04-09 12:54 聊天室程序\Client3\Client3.aps
文件 1671 2012-04-09 13:06 聊天室程序\Client3\Client3.clw
文件 2171 2012-04-07 17:02 聊天室程序\Client3\Client3.cpp
文件 4181 2012-04-07 17:02 聊天室程序\Client3\Client3.dsp
文件 539 2012-04-07 17:02 聊天室程序\Client3\Client3.dsw
文件 1335 2012-04-07 17:02 聊天室程序\Client3\Client3.h
文件 91136 2012-04-09 13:14 聊天室程序\Client3\Client3.ncb
文件 49664 2012-04-09 13:14 聊天室程序\Client3\Client3.opt
文件 248 2012-04-09 13:14 聊天室程序\Client3\Client3.plg
文件 6237 2012-04-08 18:14 聊天室程序\Client3\Client3.rc
文件 14013 2012-04-08 18:21 聊天室程序\Client3\Client3Dlg.cpp
文件 1690 2012-04-08 17:50 聊天室程序\Client3\Client3Dlg.h
文件 3597 2012-04-07 17:02 聊天室程序\Client3\ReadMe.txt
目录 0 2012-04-09 12:52 聊天室程序\Client3\res\
文件 1144 2012-04-07 17:02 聊天室程序\Client3\resource.h
文件 1078 2012-04-07 17:02 聊天室程序\Client3\res\Client3.ico
文件 399 2012-04-07 17:02 聊天室程序\Client3\res\Client3.rc2
文件 209 2012-04-07 17:02 聊天室程序\Client3\StdAfx.cpp
文件 1102 2012-04-07 17:02 聊天室程序\Client3\StdAfx.h
文件 387777 2012-04-09 13:01 聊天室程序\meinv.jpg
目录 0 2012-06-03 10:15 聊天室程序\Server3\
文件 963 2012-04-07 16:58 聊天室程序\Server3\MyList.cpp
文件 896 2012-04-07 16:58 聊天室程序\Server3\MyList.h
文件 3597 2012-04-07 16:58 聊天室程序\Server3\ReadMe.txt
目录 0 2012-04-09 12:52 聊天室程序\Server3\res\
文件 1144 2012-04-08 18:14 聊天室程序\Server3\resource.h
文件 1078 2012-04-07 16:58 聊天室程序\Server3\res\Server3.ico
文件 399 2012-04-07 16:58 聊天室程序\Server3\res\Server3.rc2
文件 21376 2012-04-09 12:53 聊天室程序\Server3\Server3.aps
............此处省略14个文件信息
相关资源
- 国际象棋的qt源代码
- C++中头文件与源文件的作用详解
- C++多线程网络编程Socket
- VC++ 多线程文件读写操作
- 利用C++哈希表的方法实现电话号码查
- 移木块游戏,可以自编自玩,vc6.0编写
- C++纯文字DOS超小RPG游戏
- VC++MFC小游戏实例教程(实例)+MFC类库
- 连铸温度场计算程序(C++)
- 6自由度机器人运动学正反解C++程序
- Em算法(使用C++编写)
- libstdc++-4.4.7-4.el6.i686.rpm
- VC++实现CMD命令执行与获得返回信息
- 白话C++(全)
- C++标准库第1、2
- 大数类c++大数类
- C++语言编写串口调试助手
- c++素数筛选法
- C++ mqtt 用法
- 商品库存管理系统 C++ MFC
- c++ 多功能计算器
- C++17 In Detail
- 嵌入式QtC++编程课件
- 颜色识别形状识别STM103嵌入式代码
- c++ 邮件多附件群发
- c++ 透明代理(hookproxy)
- mfc 调用redis
- socket客户端.c
- socket服务端.c
- FTP客户端源码(c++)
评论
共有 条评论