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

  • 大小: 3.57MB
    文件類型: .rar
    金幣: 2
    下載: 0 次
    發布日期: 2023-09-10
  • 語言: C/C++
  • 標簽: 雙機通信??C++代碼??

資源簡介

信息網絡 雙機通信 C++代碼

資源截圖

代碼片段和文件信息

//?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()
{
if(!AfxSocketInit())???????????????????????????????????//加載套接字庫
{
AfxMessageBox(“加載套接字失敗!“);
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

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

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

?????文件??????20912??2009-05-16?16:56??CHAT\CHAT.APS

?????文件???????1227??2009-06-03?22:37??CHAT\CHAT.clw

?????文件???????2170??2009-04-27?21:56??CHAT\CHAT.cpp

?????文件???????4127??2008-06-08?18:59??CHAT\CHAT.dsp

?????文件????????533??2008-06-08?18:34??CHAT\CHAT.dsw

?????文件???????1302??2008-06-08?18:34??CHAT\CHAT.h

?????文件??????58368??2009-06-03?22:37??CHAT\CHAT.ncb

?????文件??????57856??2009-06-03?22:37??CHAT\CHAT.opt

?????文件????????699??2009-06-03?22:36??CHAT\CHAT.plg

?????文件???????5557??2009-04-27?22:33??CHAT\CHAT.rc

?????文件???????6993??2009-06-03?22:35??CHAT\CHATDlg.cpp

?????文件???????1660??2009-04-27?22:33??CHAT\CHATDlg.h

?????文件????5161984??2009-06-03?22:36??CHAT\Debug\CHAT.bsc

?????文件?????106546??2009-06-03?22:36??CHAT\Debug\CHAT.exe

?????文件?????216024??2009-06-03?22:36??CHAT\Debug\CHAT.ilk

?????文件??????13585??2009-04-27?22:33??CHAT\Debug\CHAT.obj

?????文件????7018660??2008-06-08?18:52??CHAT\Debug\CHAT.pch

?????文件?????402432??2009-06-03?22:36??CHAT\Debug\CHAT.pdb

?????文件???????2660??2009-04-27?22:33??CHAT\Debug\CHAT.res

?????文件??????????0??2009-04-27?22:33??CHAT\Debug\CHAT.sbr

?????文件??????30883??2009-06-03?22:35??CHAT\Debug\CHATDlg.obj

?????文件??????30883??2009-06-03?22:00??CHAT\Debug\CHATDlg.obj.enc

?????文件??????????0??2009-06-03?22:36??CHAT\Debug\CHATDlg.sbr

?????文件?????106827??2008-06-08?18:52??CHAT\Debug\StdAfx.obj

?????文件????1391479??2008-06-08?18:52??CHAT\Debug\StdAfx.sbr

?????文件?????214016??2009-06-03?22:36??CHAT\Debug\vc60.idb

?????文件?????372736??2009-06-03?22:00??CHAT\Debug\vc60.pdb

?????文件???????3543??2008-06-08?18:34??CHAT\ReadMe.txt

?????文件???????1078??2008-06-08?18:34??CHAT\res\CHAT.ico

?????文件????????396??2008-06-08?18:34??CHAT\res\CHAT.rc2

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

評論

共有 條評論