資源簡介
C++實現多線程網絡文件傳輸、

代碼片段和文件信息
//?a.cpp?:?Defines?the?class?behaviors?for?the?application.
//
#include?“stdafx.h“
#include?“a.h“
#include?“aDlg.h“
#ifdef?_DEBUG
#define?new?DEBUG_NEW
#undef?THIS_FILE
static?char?THIS_FILE[]?=?__FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
//?CAApp
BEGIN_MESSAGE_MAP(CAApp?CWinApp)
//{{AFX_MSG_MAP(CAApp)
//?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()
/////////////////////////////////////////////////////////////////////////////
//?CAApp?construction
CAApp::CAApp()
{
//?TODO:?add?construction?code?here
//?Place?all?significant?initialization?in?InitInstance
}
/////////////////////////////////////////////////////////////////////////////
//?The?one?and?only?CAApp?object
CAApp?theApp;
/////////////////////////////////////////////////////////////////////////////
//?CAApp?initialization
BOOL?CAApp::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
CADlg?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??2012-10-30?23:43??a\
?????文件???????35856??2012-10-23?01:35??a\a.aps
?????文件????????1348??2012-10-30?23:43??a\a.clw
?????文件????????1993??2012-10-17?23:26??a\a.cpp
?????文件????????4069??2012-10-17?23:26??a\a.dsp
?????文件?????????508??2012-10-17?23:26??a\a.dsw
?????文件????????1269??2012-10-17?23:26??a\a.h
?????文件???????58368??2012-10-30?23:43??a\a.ncb
?????文件???????54784??2012-10-30?23:43??a\a.opt
?????文件?????????899??2012-10-30?23:25??a\a.plg
?????文件????????5738??2012-10-23?01:35??a\a.rc
?????文件????????9619??2012-10-23?15:17??a\aDlg.cpp
?????文件????????1460??2012-10-23?01:41??a\aDlg.h
?????目錄???????????0??2012-10-30?23:25??a\Debug\
?????文件??????110653??2012-10-30?23:25??a\Debug\a.exe
?????文件??????292704??2012-10-30?23:25??a\Debug\a.ilk
?????文件???????13832??2012-10-23?01:41??a\Debug\a.obj
?????文件?????5635856??2012-10-21?01:26??a\Debug\a.pch
?????文件??????410624??2012-10-30?23:25??a\Debug\a.pdb
?????文件????????2788??2012-10-23?01:35??a\Debug\a.res
?????文件???????41501??2012-10-30?23:25??a\Debug\aDlg.obj
?????文件??????106536??2012-10-21?01:26??a\Debug\StdAfx.obj
?????文件??????222208??2012-10-30?23:25??a\Debug\vc60.idb
?????文件??????372736??2012-10-30?23:25??a\Debug\vc60.pdb
?????文件????????3489??2012-10-17?23:26??a\ReadMe.txt
?????目錄???????????0??2012-10-17?23:26??a\res\
?????文件?????????955??2012-10-23?01:35??a\resource.h
?????文件????????1078??2012-10-17?23:26??a\res\a.ico
?????文件?????????393??2012-10-17?23:26??a\res\a.rc2
?????文件?????????205??2012-10-18?00:04??a\StdAfx.cpp
?????文件????????1161??2012-10-21?01:26??a\StdAfx.h
............此處省略31個文件信息
評論
共有 條評論