資源簡介
VC++實現兩臺電腦文件傳輸,網絡傳輸支持。

代碼片段和文件信息
//?getfiles.cpp?:?Defines?the?class?behaviors?for?the?application.
//
#include?“stdafx.h“
#include?“getfiles.h“
#include?“getfilesDlg.h“
#ifdef?_DEBUG
#define?new?DEBUG_NEW
#undef?THIS_FILE
static?char?THIS_FILE[]?=?__FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
//?CGetfilesApp
BEGIN_MESSAGE_MAP(CGetfilesApp?CWinApp)
//{{AFX_MSG_MAP(CGetfilesApp)
//?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()
/////////////////////////////////////////////////////////////////////////////
//?CGetfilesApp?construction
CGetfilesApp::CGetfilesApp()
{
//?TODO:?add?construction?code?here
//?Place?all?significant?initialization?in?InitInstance
}
/////////////////////////////////////////////////////////////////////////////
//?The?one?and?only?CGetfilesApp?object
CGetfilesApp?theApp;
/////////////////////////////////////////////////////////////////////////////
//?CGetfilesApp?initialization
BOOL?CGetfilesApp::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.
CGetfilesDlg?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;
}
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????文件???????2066??2007-03-07?08:34??3453645646456\china-code.net.txt
?????文件???????2066??2007-03-07?08:34??3453645646456\Debug\china-code.net.txt
?????文件??????20480??2003-11-04?14:24??3453645646456\Debug\ftpfile.dll
?????文件?????114742??2004-03-22?15:36??3453645646456\Debug\getfiles.exe
?????文件?????258852??2004-03-22?15:36??3453645646456\Debug\getfiles.ilk
?????文件????????818??2004-06-04?14:25??3453645646456\Debug\getfiles.INI
?????文件??????13826??2004-03-15?12:10??3453645646456\Debug\getfiles.obj
?????文件????5494424??2004-03-11?15:25??3453645646456\Debug\getfiles.pch
?????文件?????386048??2004-03-22?15:36??3453645646456\Debug\getfiles.pdb
?????文件???????2972??2004-03-22?15:36??3453645646456\Debug\getfiles.res
?????文件??????36114??2004-03-16?10:27??3453645646456\Debug\getfilesDlg.obj
?????文件????5074376??2004-03-12?11:23??3453645646456\Debug\getfilesDlg.pch
?????文件??????25600??2004-03-12?11:24??3453645646456\Debug\getfilesDlg.pdb
?????文件?????105450??2004-03-11?15:25??3453645646456\Debug\StdAfx.obj
?????文件?????214016??2004-03-25?17:32??3453645646456\Debug\vc60.idb
?????文件?????372736??2004-03-16?10:27??3453645646456\Debug\vc60.pdb
?????文件??????13457??2007-03-07?08:49??3453645646456\Debug\說明.html
?????文件??????20480??2003-11-04?14:24??3453645646456\ftpfile.dll
?????文件????????482??2002-12-22?20:43??3453645646456\Ftpfile.h
?????文件???????2284??2003-11-04?14:24??3453645646456\ftpfile.lib
?????文件??????35964??2004-03-22?15:36??3453645646456\getfiles.aps
?????文件???????1349??2004-03-30?14:13??3453645646456\getfiles.clw
?????文件???????1918??2004-03-11?15:09??3453645646456\getfiles.cpp
?????文件???????4261??2004-03-11?16:26??3453645646456\getfiles.dsp
?????文件????????539??2004-03-11?15:09??3453645646456\getfiles.dsw
?????文件???????1346??2004-03-11?15:09??3453645646456\getfiles.h
?????文件??????50176??2004-03-30?14:15??3453645646456\getfiles.ncb
?????文件??????55808??2004-03-30?14:15??3453645646456\getfiles.opt
?????文件????????866??2004-03-22?15:36??3453645646456\getfiles.plg
?????文件???????5921??2004-03-22?15:36??3453645646456\getfiles.rc
............此處省略23個文件信息
- 上一篇:備忘錄--C++程序
- 下一篇:wumpus世界(MFC編寫)
評論
共有 條評論