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

  • 大小: 4.67MB
    文件類型: .zip
    金幣: 2
    下載: 0 次
    發布日期: 2023-11-17
  • 語言: C/C++
  • 標簽: socket??

資源簡介

計算機網絡課程設計基于socket文件傳輸實驗,vs2013c++

資源截圖

代碼片段和文件信息

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

#include?“stdafx.h“
#include?“Chat.h“
#include?“ChatDlg.h“

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

/////////////////////////////////////////////////////////////////////////////
//?CChatApp

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

/////////////////////////////////////////////////////////////////////////////
//?CChatApp?construction

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

/////////////////////////////////////////////////////////////////////////////
//?The?one?and?only?CChatApp?object

CChatApp?theApp;

/////////////////////////////////////////////////////////////////////////////
//?CChatApp?initialization

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

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

?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????目錄???????????0??2017-12-27?09:04??Chat\
?????文件???????36388??2011-12-18?15:47??Chat\Chat.aps
?????文件????????1665??2011-12-18?16:20??Chat\Chat.clw
?????文件????????2035??2011-12-17?20:14??Chat\Chat.cpp
?????文件????????4127??2011-12-17?20:28??Chat\Chat.dsp
?????文件?????????533??2011-12-17?20:14??Chat\Chat.dsw
?????文件????????1302??2011-12-17?20:14??Chat\Chat.h
?????文件???????58368??2011-12-18?16:23??Chat\Chat.ncb
?????文件??????655360??2011-12-18?16:23??Chat\Chat.opt
?????文件????????1163??2011-12-18?16:19??Chat\Chat.plg
?????文件????????6237??2011-12-18?15:47??Chat\Chat.rc
?????文件???????11921??2011-12-18?16:19??Chat\ChatDlg.cpp
?????文件????????1899??2011-12-18?15:25??Chat\ChatDlg.h
?????目錄???????????0??2011-12-18?16:23??Chat\Debug\
?????文件?????3761152??2011-12-18?16:19??Chat\Debug\Chat.bsc
?????文件??????118881??2011-12-18?16:19??Chat\Debug\Chat.exe
?????文件??????252612??2011-12-18?16:19??Chat\Debug\Chat.ilk
?????文件???????18132??2011-12-18?15:47??Chat\Debug\Chat.obj
?????文件?????6877004??2011-12-18?15:47??Chat\Debug\Chat.pch
?????文件??????427008??2011-12-18?16:19??Chat\Debug\Chat.pdb
?????文件????????3108??2011-12-18?15:47??Chat\Debug\Chat.res
?????文件???????????0??2011-12-18?15:47??Chat\Debug\Chat.sbr
?????文件???????59996??2011-12-18?16:19??Chat\Debug\ChatDlg.obj
?????文件???????????0??2011-12-18?16:19??Chat\Debug\ChatDlg.sbr
?????文件??????106067??2011-12-18?15:47??Chat\Debug\StdAfx.obj
?????文件?????1366631??2011-12-18?15:47??Chat\Debug\StdAfx.sbr
?????文件??????205824??2011-12-18?16:19??Chat\Debug\vc60.idb
?????文件??????372736??2011-12-18?16:19??Chat\Debug\vc60.pdb
?????文件?????????206??2011-12-17?20:14??Chat\StdAfx.cpp
?????文件????????1054??2011-12-17?20:14??Chat\StdAfx.h
?????目錄???????????0??2011-12-17?20:14??Chat\res\
............此處省略3個文件信息

評論

共有 條評論