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

  • 大小: 39.49 KB
    文件類型: .rar
    金幣: 2
    下載: 0 次
    發(fā)布日期: 2024-08-09
  • 語言: 其他
  • 標(biāo)簽: vc++??tcp??

資源簡介

vc++ 編寫的基于TCP協(xié)議的客戶/服務(wù)器程序--客戶端。服務(wù)器端已上傳。先運(yùn)行服務(wù)器端,再運(yùn)行客戶端。效果:在第一個編輯框中輸入內(nèi)容,如果點(diǎn)“查詢數(shù)據(jù)”,則在第二個和第三個編輯框中出現(xiàn)第一個編輯框輸入的內(nèi)容分別+a和+b。如果點(diǎn)“插入數(shù)據(jù)”,則在服務(wù)器端彈出對話框,顯示這些內(nèi)容。
本科畢業(yè)設(shè)計(jì)可以照著改一下,加點(diǎn)數(shù)據(jù)庫什么的就挺好了。

資源截圖

代碼片段和文件信息

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

#include?“stdafx.h“
#include?“SendClient.h“
#include?“SendClientDlg.h“

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

/////////////////////////////////////////////////////////////////////////////
//?CSendClientApp

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

/////////////////////////////////////////////////////////////////////////////
//?CSendClientApp?construction

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

/////////////////////////////////////////////////////////////////////////////
//?The?one?and?only?CSendClientApp?object

CSendClientApp?theApp;

/////////////////////////////////////////////////////////////////////////////
//?CSendClientApp?initialization

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

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

?屬性????????????大小?????日期????時(shí)間???名稱
-----------?---------??----------?-----??----

?????文件?????110685??2008-10-11?20:01??SendClient\Debug\SendClient.exe

?????文件???????3651??2008-10-04?20:40??SendClient\ReadMe.txt

?????文件???????1078??2008-10-04?20:40??SendClient\res\SendClient.ico

?????文件????????402??2008-10-04?20:40??SendClient\res\SendClient.rc2

?????文件???????1009??2008-10-11?19:26??SendClient\Resource.h

?????文件??????36328??2008-10-11?19:26??SendClient\SendClient.aps

?????文件???????1510??2008-10-11?20:00??SendClient\SendClient.clw

?????文件???????2213??2008-10-04?20:40??SendClient\SendClient.cpp

?????文件???????4232??2008-10-04?21:42??SendClient\SendClient.dsp

?????文件????????545??2008-10-04?20:40??SendClient\SendClient.dsw

?????文件???????1368??2008-10-04?20:40??SendClient\SendClient.h

?????文件??????66560??2008-10-11?20:55??SendClient\SendClient.ncb

?????文件??????48640??2008-10-11?20:54??SendClient\SendClient.opt

?????文件???????1223??2008-10-11?20:01??SendClient\SendClient.plg

?????文件???????5869??2008-10-11?19:26??SendClient\SendClient.rc

?????文件???????7887??2008-10-11?20:01??SendClient\SendClientDlg.cpp

?????文件???????1681??2008-10-11?20:00??SendClient\SendClientDlg.h

?????文件????????212??2008-10-04?20:40??SendClient\StdAfx.cpp

?????文件???????1159??2008-10-11?19:26??SendClient\StdAfx.h

?????目錄??????????0??2008-10-04?20:40??SendClient\Debug

?????目錄??????????0??2008-10-04?20:40??SendClient\res

?????目錄??????????0??2008-10-11?20:54??SendClient

-----------?---------??----------?-----??----

???????????????296252????????????????????22


評論

共有 條評論