========================================================================
MICROSOFT FOUNDATION CLASS LIBRARY : Cclinet
========================================================================
AppWizard has created this Cclinet application for you. This application
not only demonstrates the basics of using the Microsoft Foundation classes
but is also a starting point for writing your application.
This file contains a summary of what you will find in each of the files that
make up your Cclinet application.
Cclinet.dsp
This file (the project file) contains information at the project level and
is used to build a single project or subproject. Other users can share the
project (.dsp) file, but they should export the makefiles locally.
Cclinet.h
This is the main header file for the application. It includes other
project specific headers (including Resource.h) and declares the
CCclinetApp application class.
Cclinet.cpp
This is the main application source file that contains the application
class CCclinetApp.
Cclinet.rc
This is a listing of all of the Microsoft Windows resources that the
program uses. It includes the icons, bitmaps, and cursors that are stored
in the RES subdirectory. This file can be directly edited in Microsoft
Visual C++.
Cclinet.clw
This file contains information used by ClassWizard to edit existing
classes or add new classes. ClassWizard also uses this file to store
information needed to create and edit message maps and dialog data
maps and to create prototype member functions.
res\Cclinet.ico
This is an icon file, which is used as the application's icon. This
icon is included by the main resource file Cclinet.rc.
res\Cclinet.rc2
This file contains resources that are not edited by Microsoft
Visual C++. You should place all resources not editable by
the resource editor in this file.
/////////////////////////////////////////////////////////////////////////////
AppWizard creates one dialog class:
CclinetDlg.h, CclinetDlg.cpp - the dialog
These files contain your CCclinetDlg class. This class defines
the behavior of your application's main dialog. The dialog's
template is in Cclinet.rc, which can be edited in Microsoft
Visual C++.
/////////////////////////////////////////////////////////////////////////////
Other standard files:
StdAfx.h, StdAfx.cpp
These files are used to build a precompiled header (PCH) file
named Cclinet.pch and a precompiled types file named StdAfx.obj.
Resource.h
This is the standard header file, which defines new resource IDs.
Microsoft Visual C++ reads and updates this file.
/////////////////////////////////////////////////////////////////////////////
Other notes:
AppWizard uses "TODO:" to indicate parts of the source code you
should add to or customize.
If your application uses MFC in a shared DLL, and your application is
in a language other than the operating system's current language, you
will need to copy the corresponding localized resources MFC42XXX.DLL
from the Microsoft Visual C++ CD-ROM onto the system or system32 directory,
and rename it to be MFCLOC.DLL. ("XXX" stands for the language abbreviation.
For example, MFC42DEU.DLL contains resources translated to German.) If you
don't do this, some of the UI elements of your application will remain in the
language of the operating system.
/////////////////////////////////////////////////////////////////////////////
没有合适的资源?快使用搜索试试~ 我知道了~
温馨提示
该程序是用c++语言写的,服务器端没有做界面,客户端用MFC做了界面。实现多对多通信,于是在服务器端,按照要求增加了多线程,但是把服务器修改成只能接收客户端的消息并转发;在客户端,因为要实现一对多和多对多通信,所以客户端也要增加多线程。我通过定义一个结构体,存放bool类型的判断聊天类型标志、发送消息缓冲区、存放聊天对象的数组、存放用户名的数组。客户端的界面由静态文本框、编辑框、单选按钮、列表、按钮组成,通过点击连接按钮和服务器建立连接,单选按钮控制私聊还是群聊,列表显示聊天消息和在线用户。
资源推荐
资源详情
资源评论
收起资源包目录
Socket聊天.zip (47个子文件)
Socket聊天
ChatServer
ChatServer.dsp 4KB
ChatServer.dsw 543B
ChatServer.plg 1KB
ChatServer.cpp 5KB
ChatServer.opt 54KB
ChatServer.ncb 49KB
Debug
ChatServer.bsc 2.06MB
ChatServer.ilk 416KB
ChatServer.pdb 1.11MB
ChatServer.obj 194KB
ChatServer.sbr 0B
vc60.idb 337KB
ChatServer.pch 6.57MB
ChatServer.exe 264KB
vc60.pdb 172KB
Cclinet
Cclinet.plg 729B
Cclinet.ncb 105KB
res
Cclinet.rc2 399B
Cclinet.ico 1KB
Cclinet.dsp 4KB
Cclinet.dsw 537B
Cclinet.clw 1KB
CclinetDlg.h 2KB
Cclinet.aps 21KB
Cclinet.h 1KB
StdAfx.cpp 209B
Cclinet.rc 6KB
resource.h 1KB
Cclinet.opt 55KB
StdAfx.h 1KB
CclinetDlg.cpp 10KB
Cclinet.cpp 2KB
Debug
StdAfx.obj 103KB
Cclinet.ilk 229KB
Cclinet.exe 112KB
Cclinet.sbr 0B
Cclinet.pch 6.75MB
Cclinet.pdb 433KB
CclinetDlg.obj 46KB
Cclinet.obj 23KB
Cclinet.res 3KB
vc60.idb 305KB
StdAfx.sbr 1.31MB
vc60.pdb 436KB
Cclinet.bsc 5.52MB
CclinetDlg.sbr 0B
ReadMe.txt 4KB
共 47 条
- 1
资源评论
铭&婵旭
- 粉丝: 50
- 资源: 2
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
最新资源
- 高等数学第一章第二节数列的极限
- Python 版冒泡排序算法源代码
- tensorflow-gpu-2.7.2-cp38-cp38-manylinux2010-x86-64.whl
- tensorflow-2.7.3-cp39-cp39-manylinux2010-x86-64.whl
- tensorflow-2.7.2-cp39-cp39-manylinux2010-x86-64.whl
- Python版本快速排序源代码
- Python 语言版的快速排序算法实现
- 450815388207377安卓_base.apk
- 超微主板 X9DRE-TF+ bios 支持 nvme启动
- 基于Python通过下载气象数据和插值拟合离散数据曲线实现对寒潮过程的能量分析
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功