资源简介

网络编程作业 实现了聊天室的公聊和私聊功能 有用户在线列表 有客户端 服务器端

资源截图

代码片段和文件信息

// QQClientDemo.cpp : Defines the class behaviors for the application.
//

#include “stdafx.h“
#include “QQClientDemo.h“
#include “QQClientDemoDlg.h“

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

/////////////////////////////////////////////////////////////////////////////
// CQQClientDemoApp

BEGIN_MESSAGE_MAP(CQQClientDemoApp CWinApp)
//{{AFX_MSG_MAP(CQQClientDemoApp)
// 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()

/////////////////////////////////////////////////////////////////////////////
// CQQClientDemoApp construction

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

/////////////////////////////////////////////////////////////////////////////
// The one and only CQQClientDemoApp object

CQQClientDemoApp theApp;

/////////////////////////////////////////////////////////////////////////////
// CQQClientDemoApp initialization

BOOL CQQClientDemoApp::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.

WSADATA wsaData;
WSAStartup(MAKEWORD(10) &wsaData);

#ifdef _AFXDLL
Enable3dControls(); // Call this when using MFC in a shared DLL
#else
Enable3dControlsStatic(); // Call this when linking to MFC statically
#endif

CQQClientDemoDlg 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;
}

int CQQClientDemoApp::ExitInstance() 
{
// TODO: Add your specialized code here and/or call the base class
WSACleanup();
return CWinApp::ExitInstance();
}

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2014-05-09 20:21  QQdemoV3\
     目录           0  2014-12-19 15:32  QQdemoV3\QQClientDemo\
     目录           0  2014-12-19 15:32  QQdemoV3\QQClientDemo\Debug\
     文件        5850  2014-12-19 15:32  QQdemoV3\QQClientDemo\Debug\BuildLog.htm
     文件          65  2014-12-19 15:32  QQdemoV3\QQClientDemo\Debug\mt.dep
     文件    10087424  2014-12-19 15:30  QQdemoV3\QQClientDemo\Debug\QQClientDemo.bsc
     文件       80384  2014-12-19 15:32  QQdemoV3\QQClientDemo\Debug\QQClientDemo.exe
     文件         920  2014-12-19 15:21  QQdemoV3\QQClientDemo\Debug\QQClientDemo.exe.embed.manifest
     文件         984  2014-12-19 15:21  QQdemoV3\QQClientDemo\Debug\QQClientDemo.exe.embed.manifest.res
     文件         861  2014-12-19 15:32  QQdemoV3\QQClientDemo\Debug\QQClientDemo.exe.intermediate.manifest
     文件     1033004  2014-12-19 15:32  QQdemoV3\QQClientDemo\Debug\QQClientDemo.ilk
     文件       26039  2014-12-19 15:21  QQdemoV3\QQClientDemo\Debug\QQClientDemo.obj
     文件    28573696  2014-12-19 15:21  QQdemoV3\QQClientDemo\Debug\QQClientDemo.pch
     文件     3558400  2014-12-19 15:32  QQdemoV3\QQClientDemo\Debug\QQClientDemo.pdb
     文件        3200  2014-12-19 15:32  QQdemoV3\QQClientDemo\Debug\QQClientDemo.res
     文件           0  2014-12-19 15:21  QQdemoV3\QQClientDemo\Debug\QQClientDemo.sbr
     文件       74540  2014-12-19 15:30  QQdemoV3\QQClientDemo\Debug\QQClientDemoDlg.obj
     文件           0  2014-12-19 15:30  QQdemoV3\QQClientDemo\Debug\QQClientDemoDlg.sbr
     文件      466099  2014-12-19 15:21  QQdemoV3\QQClientDemo\Debug\StdAfx.obj
     文件     3358398  2014-12-19 15:21  QQdemoV3\QQClientDemo\Debug\StdAfx.sbr
     文件      912384  2014-12-19 15:30  QQdemoV3\QQClientDemo\Debug\vc90.idb
     文件     2002944  2014-12-19 15:30  QQdemoV3\QQClientDemo\Debug\vc90.pdb
     文件        1102  2014-12-19 13:49  QQdemoV3\QQClientDemo\ProtocolDef.h
     文件       39100  2014-12-19 15:32  QQdemoV3\QQClientDemo\QQClientDemo.aps
     文件        1733  2014-03-18 13:08  QQdemoV3\QQClientDemo\QQClientDemo.clw
     文件        2373  2014-03-11 19:30  QQdemoV3\QQClientDemo\QQClientDemo.cpp
     文件        4334  2014-03-11 15:40  QQdemoV3\QQClientDemo\QQClientDemo.dsp
     文件         547  2014-03-11 07:59  QQdemoV3\QQClientDemo\QQClientDemo.dsw
     文件        1420  2014-03-11 19:30  QQdemoV3\QQClientDemo\QQClientDemo.h
     文件    18549760  2014-12-21 14:12  QQdemoV3\QQClientDemo\QQClientDemo.ncb
     文件       49664  2014-03-18 13:08  QQdemoV3\QQClientDemo\QQClientDemo.opt
............此处省略42个文件信息

评论

共有 条评论