資源簡介
代碼實現QQ聊天比較基礎 有感興趣的可以下載 下來看看

代碼片段和文件信息
//?chatclient.cpp?:?Defines?the?class?behaviors?for?the?application.
//
#include?“stdafx.h“
#include?“chatclient.h“
#include?“chatclientDlg.h“
#ifdef?_DEBUG
#define?new?DEBUG_NEW
#undef?THIS_FILE
static?char?THIS_FILE[]?=?__FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
//?CChatclientApp
BEGIN_MESSAGE_MAP(CChatclientApp?CWinApp)
//{{AFX_MSG_MAP(CChatclientApp)
//}}AFX_MSG
ON_COMMAND(ID_HELP?CWinApp::onhelp)
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
//?CChatclientApp?construction
CChatclientApp::CChatclientApp()
{
}
/////////////////////////////////////////////////////////////////////////////
//?The?one?and?only?CChatclientApp?object
CChatclientApp?theApp;
/////////////////////////////////////////////////////////////////////////////
//?CChatclientApp?initialization
BOOL?CChatclientApp::InitInstance()
{
if?(!AfxSocketInit())
{
AfxMessageBox(IDP_SOCKETS_INIT_FAILED);
return?FALSE;
}
AfxEnableControlContainer();
//?Standard?initialization
CChatclientDlg?dlg;
m_pMainWnd?=?&dlg;
int?nResponse?=?dlg.DoModal();
if?(nResponse?==?IDOK)
{
}
else?if?(nResponse?==?IDCANCEL)
{
}
//?Since?the?dialog?has?been?closed?return?FALSE?so?that?we?exit?the
//??application?rather?than?start?the?application‘s?message?pump.
return?FALSE;
}
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????文件????????561??2013-07-31?10:30??C寫的仿QQ聊天軟件(linux服務端windows客戶端)源碼\說明.txt
?????文件???????1226??2013-01-26?10:05??C寫的仿QQ聊天軟件(linux服務端windows客戶端)源碼\chatclient\chatclient.h
?????文件???????1951??2013-02-08?20:07??C寫的仿QQ聊天軟件(linux服務端windows客戶端)源碼\chatclient\chatclientDlg.h
?????文件???????1629??2013-02-03?01:42??C寫的仿QQ聊天軟件(linux服務端windows客戶端)源碼\chatclient\ChatDlg.h
?????文件???????3796??2013-04-09?15:17??C寫的仿QQ聊天軟件(linux服務端windows客戶端)源碼\include\datauct.h
?????文件????????402??2013-02-01?13:42??C寫的仿QQ聊天軟件(linux服務端windows客戶端)源碼\chatserver\dbdispose.h
?????文件????????292??2013-02-01?13:43??C寫的仿QQ聊天軟件(linux服務端windows客戶端)源碼\chatserver\dbinit.h
?????文件????????364??2013-02-01?13:44??C寫的仿QQ聊天軟件(linux服務端windows客戶端)源碼\chatserver\msgdispose.h
?????文件????????273??2013-02-01?13:45??C寫的仿QQ聊天軟件(linux服務端windows客戶端)源碼\chatserver\network.h
?????文件???????1339??2013-02-01?15:08??C寫的仿QQ聊天軟件(linux服務端windows客戶端)源碼\chatclient\RegDlg.h
?????文件???????1828??2013-02-03?08:53??C寫的仿QQ聊天軟件(linux服務端windows客戶端)源碼\chatclient\resource.h
?????文件???????1089??2013-02-01?13:46??C寫的仿QQ聊天軟件(linux服務端windows客戶端)源碼\chatserver\server.h
?????文件???????1102??2013-01-26?10:05??C寫的仿QQ聊天軟件(linux服務端windows客戶端)源碼\chatclient\StdAfx.h
?????文件???????2325??2013-02-05?12:46??C寫的仿QQ聊天軟件(linux服務端windows客戶端)源碼\chatserver\dbdispose.c
?????文件???????2278??2013-02-03?14:39??C寫的仿QQ聊天軟件(linux服務端windows客戶端)源碼\chatserver\dbinit.c
?????文件???????3908??2013-02-05?19:11??C寫的仿QQ聊天軟件(linux服務端windows客戶端)源碼\chatserver\msgdispose.c
?????文件???????5483??2013-02-05?12:47??C寫的仿QQ聊天軟件(linux服務端windows客戶端)源碼\chatserver\network.c
?????文件???????1228??2013-02-03?14:41??C寫的仿QQ聊天軟件(linux服務端windows客戶端)源碼\chatserver\server.c
?????文件???????1438??2013-01-26?10:05??C寫的仿QQ聊天軟件(linux服務端windows客戶端)源碼\chatclient\chatclient.cpp
?????文件??????19853??2013-02-08?20:08??C寫的仿QQ聊天軟件(linux服務端windows客戶端)源碼\chatclient\chatclientDlg.cpp
?????文件???????4826??2013-02-03?15:08??C寫的仿QQ聊天軟件(linux服務端windows客戶端)源碼\chatclient\ChatDlg.cpp
?????文件???????2018??2013-02-02?16:50??C寫的仿QQ聊天軟件(linux服務端windows客戶端)源碼\chatclient\RegDlg.cpp
?????文件????????212??2013-01-26?10:05??C寫的仿QQ聊天軟件(linux服務端windows客戶端)源碼\chatclient\StdAfx.cpp
?????文件??????90476??2013-01-31?20:03??C寫的仿QQ聊天軟件(linux服務端windows客戶端)源碼\chatclient\res\login.wav
?????文件??????88514??2013-01-31?20:03??C寫的仿QQ聊天軟件(linux服務端windows客戶端)源碼\chatclient\res\logout.wav
?????文件?????205100??2013-01-31?20:03??C寫的仿QQ聊天軟件(linux服務端windows客戶端)源碼\chatclient\res\msg.wav
?????文件????????460??2013-01-30?23:55??C寫的仿QQ聊天軟件(linux服務端windows客戶端)源碼\chatserver\makefile
?????文件???????2375??2013-02-08?20:07??C寫的仿QQ聊天軟件(linux服務端windows客戶端)源碼\chatclient\chatclient.clw
?????文件???????4648??2013-02-03?01:08??C寫的仿QQ聊天軟件(linux服務端windows客戶端)源碼\chatclient\chatclient.dsp
?????文件????????528??2013-01-26?10:05??C寫的仿QQ聊天軟件(linux服務端windows客戶端)源碼\chatclient\chatclient.dsw
............此處省略14個文件信息
評論
共有 條評論