91av视频/亚洲h视频/操亚洲美女/外国一级黄色毛片 - 国产三级三级三级三级

  • 大小: 114KB
    文件類型: .rar
    金幣: 2
    下載: 0 次
    發(fā)布日期: 2021-05-10
  • 語言: C/C++
  • 標簽:

資源簡介

C++聊天室客戶端+服務端,很好用的,一個服務端,客戶端無限制

資源截圖

代碼片段和文件信息

//?Client.cpp?:?Defines?the?class?behaviors?for?the?application.
//

#include?“stdafx.h“
#include?“Client.h“
#include?“ClientDlg.h“

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

/////////////////////////////////////////////////////////////////////////////
//?CClientApp

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

/////////////////////////////////////////////////////////////////////////////
//?CClientApp?construction

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

/////////////////////////////////////////////////////////////////////////////
//?The?one?and?only?CClientApp?object

CClientApp?theApp;

/////////////////////////////////////////////////////////////////////////////
//?CClientApp?initialization

BOOL?CClientApp::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.

#ifdef?_AFXDLL
Enable3dControls(); //?Call?this?when?using?MFC?in?a?shared?DLL
#else
Enable3dControlsStatic(); //?Call?this?when?linking?to?MFC?statically
#endif
//初始化套接字
WSADATA?wsd;
AfxSocketInit(&wsd);

CClientDlg?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;
}

?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----

?????文件???????1519??2008-12-18?15:53??389\Client\Client.clw

?????文件???????2118??2007-05-08?08:52??389\Client\Client.cpp

?????文件???????4361??2009-01-08?15:21??389\Client\Client.dsp

?????文件????????535??2007-05-08?08:52??389\Client\Client.dsw

?????文件???????1324??2007-05-08?08:52??389\Client\Client.h

?????文件??????48640??2008-12-11?15:52??389\Client\Client.opt

?????文件???????5868??2008-12-12?10:24??389\Client\Client.rc

?????文件???????6365??2008-12-26?09:27??389\Client\ClientDlg.cpp

?????文件???????1584??2008-12-26?09:19??389\Client\ClientDlg.h

?????文件???????1089??2008-12-12?09:50??389\Client\Mysocket.cpp

?????文件???????1296??2008-12-12?09:50??389\Client\Mysocket.h

?????文件???????3579??2007-05-08?08:52??389\Client\ReadMe.txt

?????文件???????1078??2007-05-08?08:52??389\Client\res\Client.ico

?????文件????????398??2007-05-08?08:52??389\Client\res\Client.rc2

????..A..H.??????7168??2009-04-06?16:24??389\Client\res\Thumbs.db

?????文件?????140456??2007-05-08?08:52??389\Client\res\聊天系列版.bmp

?????文件???????1051??2008-12-11?16:48??389\Client\resource.h

?????文件????????208??2007-05-08?08:52??389\Client\StdAfx.cpp

?????文件???????1054??2007-05-08?08:52??389\Client\StdAfx.h

?????文件???????1081??2008-12-12?10:08??389\Server\ClientSocket.cpp

?????文件???????1335??2008-12-12?09:43??389\Server\ClientSocket.h

?????文件???????3579??2007-05-08?08:52??389\Server\ReadMe.txt

?????文件???????1078??2007-05-08?08:52??389\Server\res\Server.ico

?????文件????????398??2007-05-08?08:52??389\Server\res\Server.rc2

????..A..H.??????9728??2009-04-06?16:24??389\Server\res\Thumbs.db

?????文件?????140456??2007-05-08?08:52??389\Server\res\聊天系列版.bmp

?????文件????????959??2008-12-11?16:46??389\Server\resource.h

?????文件???????1521??2008-12-12?10:23??389\Server\Server.clw

?????文件???????2101??2007-05-08?08:52??389\Server\Server.cpp

?????文件???????4505??2007-05-08?08:52??389\Server\Server.dsp

............此處省略18個文件信息

評論

共有 條評論

相關資源