資源簡介
主程序文件是ClearGarbage.dsw,使用Visual C++6.0打開此文件,然后使用工具欄中的“Build”命令即可調試。

代碼片段和文件信息
//?ClearGarbage.cpp?:?Defines?the?class?behaviors?for?the?application.
//
#include?“stdafx.h“
#include?“ClearGarbage.h“
#include?“ClearGarbageDlg.h“
#ifdef?_DEBUG
#define?new?DEBUG_NEW
#undef?THIS_FILE
static?char?THIS_FILE[]?=?__FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
//?CClearGarbageApp
BEGIN_MESSAGE_MAP(CClearGarbageApp?CWinApp)
//{{AFX_MSG_MAP(CClearGarbageApp)
//?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()
/////////////////////////////////////////////////////////////////////////////
//?CClearGarbageApp?construction
CClearGarbageApp::CClearGarbageApp()
{
//?TODO:?add?construction?code?here
//?Place?all?significant?initialization?in?InitInstance
}
/////////////////////////////////////////////////////////////////////////////
//?The?one?and?only?CClearGarbageApp?object
CClearGarbageApp?theApp;
/////////////////////////////////////////////////////////////////////////////
//?CClearGarbageApp?initialization
BOOL?CClearGarbageApp::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
CClearGarbageDlg?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??2013-02-03?13:35??垃圾清理系統\
?????目錄???????????0??2013-02-03?13:35??垃圾清理系統\ClearGarbage\
?????文件???????30440??2011-04-13?22:46??垃圾清理系統\ClearGarbage\ClearGarbage.aps
?????文件????????3301??2011-04-13?22:46??垃圾清理系統\ClearGarbage\ClearGarbage.clw
?????文件????????2147??2008-12-17?09:04??垃圾清理系統\ClearGarbage\ClearGarbage.cpp
?????文件????????4331??2009-01-14?15:55??垃圾清理系統\ClearGarbage\ClearGarbage.dsp
?????文件?????????549??2008-12-17?09:04??垃圾清理系統\ClearGarbage\ClearGarbage.dsw
?????文件????????1390??2008-12-17?09:04??垃圾清理系統\ClearGarbage\ClearGarbage.h
?????文件???????41984??2011-04-13?22:47??垃圾清理系統\ClearGarbage\ClearGarbage.ncb
?????文件???????54784??2011-04-13?22:47??垃圾清理系統\ClearGarbage\ClearGarbage.opt
?????文件????????9778??2008-12-17?14:09??垃圾清理系統\ClearGarbage\ClearGarbage.rc
?????文件????????9339??2008-12-17?14:09??垃圾清理系統\ClearGarbage\ClearGarbageDlg.cpp
?????文件????????1984??2008-12-17?14:00??垃圾清理系統\ClearGarbage\ClearGarbageDlg.h
?????目錄???????????0??2013-02-03?13:35??垃圾清理系統\ClearGarbage\Debug\
?????文件????????3687??2008-12-17?09:04??垃圾清理系統\ClearGarbage\ReadMe.txt
?????目錄???????????0??2013-02-03?13:35??垃圾清理系統\ClearGarbage\res\
?????文件????????2069??2008-12-17?14:09??垃圾清理系統\ClearGarbage\resource.h
?????文件????????5694??2008-12-17?14:09??垃圾清理系統\ClearGarbage\res\71.ico
?????文件????????1078??2008-12-17?09:04??垃圾清理系統\ClearGarbage\res\ClearGarbage.ico
?????文件?????????404??2008-12-17?09:04??垃圾清理系統\ClearGarbage\res\ClearGarbage.rc2
?????文件?????????214??2008-12-17?09:04??垃圾清理系統\ClearGarbage\StdAfx.cpp
?????文件????????1054??2008-12-17?09:04??垃圾清理系統\ClearGarbage\StdAfx.h
- 上一篇:C++列車時刻查詢系統
- 下一篇:Boost.Asio C++ 網絡編程.epub
評論
共有 條評論