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

  • 大小: 3.79 MB
    文件類型: .rar
    金幣: 1
    下載: 1 次
    發布日期: 2024-11-06
  • 語言: C/C++
  • 標簽: C語言??

資源簡介

簡單的C語言點對點聊天程序.供初學者學習參考。

資源截圖

代碼片段和文件信息

//?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)
//?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()

/////////////////////////////////////////////////////////////////////////////
//?CChatClientApp?construction

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

/////////////////////////////////////////////////////////////////////////////
//?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
//?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

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

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

?????文件??????21204??2012-04-08?09:50??簡單的C語言點對點聊天程序\ChatClient\ChatClient.aps

?????文件???????1508??2012-04-08?10:55??簡單的C語言點對點聊天程序\ChatClient\ChatClient.clw

?????文件???????2213??2012-04-07?21:21??簡單的C語言點對點聊天程序\ChatClient\ChatClient.cpp

?????文件???????4363??2012-04-07?21:21??簡單的C語言點對點聊天程序\ChatClient\ChatClient.dsp

?????文件????????528??2012-04-07?21:21??簡單的C語言點對點聊天程序\ChatClient\ChatClient.dsw

?????文件???????1368??2012-04-07?21:21??簡單的C語言點對點聊天程序\ChatClient\ChatClient.h

?????文件??????66560??2012-04-08?10:58??簡單的C語言點對點聊天程序\ChatClient\ChatClient.ncb

?????文件??????49664??2012-04-08?10:58??簡單的C語言點對點聊天程序\ChatClient\ChatClient.opt

?????文件????????254??2012-04-08?10:37??簡單的C語言點對點聊天程序\ChatClient\ChatClient.plg

?????文件???????5470??2012-04-07?21:21??簡單的C語言點對點聊天程序\ChatClient\ChatClient.rc

?????文件???????5379??2012-04-07?21:21??簡單的C語言點對點聊天程序\ChatClient\ChatClientDlg.cpp

?????文件???????1637??2012-04-07?21:21??簡單的C語言點對點聊天程序\ChatClient\ChatClientDlg.h

?????文件???????1449??2012-04-07?21:21??簡單的C語言點對點聊天程序\ChatClient\ChatSocket.cpp

?????文件???????1366??2012-04-07?21:21??簡單的C語言點對點聊天程序\ChatClient\ChatSocket.h

?????文件?????106578??2012-04-08?09:50??簡單的C語言點對點聊天程序\ChatClient\Debug\ChatClient.exe

?????文件?????220244??2012-04-08?09:50??簡單的C語言點對點聊天程序\ChatClient\Debug\ChatClient.ilk

?????文件??????14959??2012-04-08?09:50??簡單的C語言點對點聊天程序\ChatClient\Debug\ChatClient.obj

?????文件????5830936??2012-04-08?09:50??簡單的C語言點對點聊天程序\ChatClient\Debug\ChatClient.pch

?????文件?????386048??2012-04-08?09:50??簡單的C語言點對點聊天程序\ChatClient\Debug\ChatClient.pdb

?????文件???????2660??2012-04-07?21:21??簡單的C語言點對點聊天程序\ChatClient\Debug\ChatClient.res

?????文件??????26872??2012-04-08?09:50??簡單的C語言點對點聊天程序\ChatClient\Debug\ChatClientDlg.obj

?????文件???????8208??2012-04-08?09:50??簡單的C語言點對點聊天程序\ChatClient\Debug\ChatSocket.obj

?????文件?????106984??2012-04-08?09:50??簡單的C語言點對點聊天程序\ChatClient\Debug\StdAfx.obj

?????文件?????328704??2012-04-08?10:38??簡單的C語言點對點聊天程序\ChatClient\Debug\vc60.idb

?????文件?????372736??2012-04-08?09:50??簡單的C語言點對點聊天程序\ChatClient\Debug\vc60.pdb

?????文件???????3651??2012-04-07?21:21??簡單的C語言點對點聊天程序\ChatClient\ReadMe.txt

?????文件???????1078??2012-04-07?21:21??簡單的C語言點對點聊天程序\ChatClient\res\ChatClient.ico

?????文件????????402??2012-04-07?21:21??簡單的C語言點對點聊天程序\ChatClient\res\ChatClient.rc2

?????文件???????1147??2012-04-07?21:21??簡單的C語言點對點聊天程序\ChatClient\resource.h

?????文件????????212??2012-04-07?21:21??簡單的C語言點對點聊天程序\ChatClient\StdAfx.cpp

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

評論

共有 條評論