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

  • 大小: 4.36MB
    文件類型: .rar
    金幣: 2
    下載: 0 次
    發布日期: 2023-09-27
  • 語言: C/C++
  • 標簽:

資源簡介

RT 老師布置的熟悉socket的編程作業,用最簡單的vc6.0做的,有利于新手熟悉過程

資源截圖

代碼片段和文件信息

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

#include?“stdafx.h“
#include?“chatrooms.h“
#include?“chatroomsDlg.h“

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

/////////////////////////////////////////////////////////////////////////////
//?CChatroomsApp

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

/////////////////////////////////////////////////////////////////////////////
//?CChatroomsApp?construction

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

/////////////////////////////////////////////////////////////////////////////
//?The?one?and?only?CChatroomsApp?object

CChatroomsApp?theApp;

/////////////////////////////////////////////////////////////////////////////
//?CChatroomsApp?initialization

BOOL?CChatroomsApp::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

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

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

?????文件??????22088??2013-10-04?16:10??chatrooms\chatrooms.aps

?????文件???????1943??2013-10-04?17:23??chatrooms\chatrooms.clw

?????文件???????2199??2013-10-04?16:09??chatrooms\chatrooms.cpp

?????文件???????4293??2013-10-04?16:09??chatrooms\chatrooms.dsp

?????文件????????524??2013-10-04?16:09??chatrooms\chatrooms.dsw

?????文件???????1357??2013-10-04?16:09??chatrooms\chatrooms.h

?????文件??????74752??2013-10-04?17:23??chatrooms\chatrooms.ncb

?????文件??????49664??2013-10-04?17:23??chatrooms\chatrooms.opt

?????文件???????1602??2013-10-04?16:13??chatrooms\chatrooms.plg

?????文件???????6786??2013-10-04?16:09??chatrooms\chatrooms.rc

?????文件??????12132??2013-10-04?16:09??chatrooms\chatroomsDlg.cpp

?????文件???????2205??2013-10-04?16:09??chatrooms\chatroomsDlg.h

?????文件???????1520??2013-10-04?16:09??chatrooms\client.cpp

?????文件????2170945??2013-10-04?16:13??chatrooms\Debug\chatrooms.exe

?????文件????2559436??2013-10-04?16:13??chatrooms\Debug\chatrooms.ilk

?????文件??????29419??2013-10-04?16:13??chatrooms\Debug\chatrooms.obj

?????文件????7105376??2013-10-04?16:09??chatrooms\Debug\chatrooms.pch

?????文件????4195328??2013-10-04?16:13??chatrooms\Debug\chatrooms.pdb

?????文件???????9400??2013-10-04?16:09??chatrooms\Debug\chatrooms.res

?????文件??????15511??2013-10-04?16:13??chatrooms\Debug\chatrooms.sbr

?????文件??????70618??2013-10-04?16:13??chatrooms\Debug\chatroomsDlg.obj

?????文件??????21905??2013-10-04?16:13??chatrooms\Debug\chatroomsDlg.sbr

?????文件???????7200??2013-10-04?16:13??chatrooms\Debug\client.obj

?????文件??????15089??2013-10-04?16:13??chatrooms\Debug\client.sbr

?????文件??????29109??2013-10-04?16:13??chatrooms\Debug\sever.obj

?????文件??????16951??2013-10-04?16:13??chatrooms\Debug\sever.sbr

?????文件?????106282??2013-10-04?16:09??chatrooms\Debug\StdAfx.obj

?????文件????1377778??2013-10-04?16:09??chatrooms\Debug\StdAfx.sbr

?????文件?????222208??2013-10-04?16:14??chatrooms\Debug\vc60.idb

?????文件?????372736??2013-10-04?16:13??chatrooms\Debug\vc60.pdb

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

評論

共有 條評論