资源简介
信息网络 双机通信 C++代码

代码片段和文件信息
// CHAT.cpp : Defines the class behaviors for the application.
//
#include “stdafx.h“
#include “CHAT.h“
#include “CHATDlg.h“
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CCHATApp
BEGIN_MESSAGE_MAP(CCHATApp CWinApp)
//{{AFX_MSG_MAP(CCHATApp)
// 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()
/////////////////////////////////////////////////////////////////////////////
// CCHATApp construction
CCHATApp::CCHATApp()
{
// TODO: add construction code here
// Place all significant initialization in InitInstance
}
/////////////////////////////////////////////////////////////////////////////
// The one and only CCHATApp object
CCHATApp theApp;
/////////////////////////////////////////////////////////////////////////////
// CCHATApp initialization
BOOL CCHATApp::InitInstance()
{
if(!AfxSocketInit()) //加载套接字库
{
AfxMessageBox(“加载套接字失败!“);
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
CCHATDlg 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;
}
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 20912 2009-05-16 16:56 CHAT\CHAT.APS
文件 1227 2009-06-03 22:37 CHAT\CHAT.clw
文件 2170 2009-04-27 21:56 CHAT\CHAT.cpp
文件 4127 2008-06-08 18:59 CHAT\CHAT.dsp
文件 533 2008-06-08 18:34 CHAT\CHAT.dsw
文件 1302 2008-06-08 18:34 CHAT\CHAT.h
文件 58368 2009-06-03 22:37 CHAT\CHAT.ncb
文件 57856 2009-06-03 22:37 CHAT\CHAT.opt
文件 699 2009-06-03 22:36 CHAT\CHAT.plg
文件 5557 2009-04-27 22:33 CHAT\CHAT.rc
文件 6993 2009-06-03 22:35 CHAT\CHATDlg.cpp
文件 1660 2009-04-27 22:33 CHAT\CHATDlg.h
文件 5161984 2009-06-03 22:36 CHAT\Debug\CHAT.bsc
文件 106546 2009-06-03 22:36 CHAT\Debug\CHAT.exe
文件 216024 2009-06-03 22:36 CHAT\Debug\CHAT.ilk
文件 13585 2009-04-27 22:33 CHAT\Debug\CHAT.obj
文件 7018660 2008-06-08 18:52 CHAT\Debug\CHAT.pch
文件 402432 2009-06-03 22:36 CHAT\Debug\CHAT.pdb
文件 2660 2009-04-27 22:33 CHAT\Debug\CHAT.res
文件 0 2009-04-27 22:33 CHAT\Debug\CHAT.sbr
文件 30883 2009-06-03 22:35 CHAT\Debug\CHATDlg.obj
文件 30883 2009-06-03 22:00 CHAT\Debug\CHATDlg.obj.enc
文件 0 2009-06-03 22:36 CHAT\Debug\CHATDlg.sbr
文件 106827 2008-06-08 18:52 CHAT\Debug\StdAfx.obj
文件 1391479 2008-06-08 18:52 CHAT\Debug\StdAfx.sbr
文件 214016 2009-06-03 22:36 CHAT\Debug\vc60.idb
文件 372736 2009-06-03 22:00 CHAT\Debug\vc60.pdb
文件 3543 2008-06-08 18:34 CHAT\ReadMe.txt
文件 1078 2008-06-08 18:34 CHAT\res\CHAT.ico
文件 396 2008-06-08 18:34 CHAT\res\CHAT.rc2
............此处省略9个文件信息
- 上一篇:用遗传算法实现语音识别--基于mfcc参数
- 下一篇:多边形拓扑关系的建立
相关资源
- 高精度加法(c++代码)
- 高效FFT的C/C++代码实现包括基2的DIF和
- 多功能计算器实现C++代码以及代码详
- 扩展欧几里德算法c++代码
- 移动最小二乘法MLS基于C++代码实现
- 编译原理 LR分析器 c++代码
- 简单蚁群算法C++代码
- QQ可用 Directshow实现的虚拟摄像头win
- 交通标识牌检测c++代码
- OLSR路由协议实现代码
- 超级玛丽c++代码(经典小游戏)
- GMM C++代码
- 数据结构课程设计(C++代码+报告)
- DICOM图片转换BMP的C++代码
- QSplat:基于点绘制的图形学开山之作
- 飞行棋c++代码
- Delphi2Cppdelphi代码转换为C++代码
- snake算法的C++代码
- 外卖管理系统含界面C++代码
- TLD 全C++代码 OpenCV3.0.0 VS2013 工程文件
- Microsoft+VisualC++6.0代码提示插件
- 史上最全C++代码
- Visual C++代码 获取本地网络信息
- 操作系统文件管理C++代码实现
- DX9.0小游戏C++代码
- 傅里叶变换和傅里叶逆变换的C++代码
- 课程设计---c++代码相似度计算
- 遥感图像融合C++代码
- 控制网平差C++代码实现
- C++:面向对象程序设计陈良银 李涛
评论
共有 条评论