資源簡介
不錯的希爾伯特程序,適合初學者學習,很實用的~~~

代碼片段和文件信息
//?Hibert.cpp?:?Defines?the?class?behaviors?for?the?application.
//
#include?“stdafx.h“
#include?“Hibert.h“
#include?“HibertDlg.h“
#ifdef?_DEBUG
#define?new?DEBUG_NEW
#undef?THIS_FILE
static?char?THIS_FILE[]?=?__FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
//?CHibertApp
BEGIN_MESSAGE_MAP(CHibertApp?CWinApp)
//{{AFX_MSG_MAP(CHibertApp)
//?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()
/////////////////////////////////////////////////////////////////////////////
//?CHibertApp?construction
CHibertApp::CHibertApp()
{
//?TODO:?add?construction?code?here
//?Place?all?significant?initialization?in?InitInstance
}
/////////////////////////////////////////////////////////////////////////////
//?The?one?and?only?CHibertApp?object
CHibertApp?theApp;
/////////////////////////////////////////////////////////////////////////////
//?CHibertApp?initialization
BOOL?CHibertApp::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
CHibertDlg?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;
}
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????文件??????35520??2008-04-01?09:18??Hibert\Hibert.aps
?????文件???????1166??2008-04-01?09:22??Hibert\Hibert.clw
?????文件???????2063??2008-04-01?09:14??Hibert\Hibert.cpp
?????文件???????4159??2008-04-01?09:14??Hibert\Hibert.dsp
?????文件????????535??2008-04-01?09:14??Hibert\Hibert.dsw
?????文件???????1324??2008-04-01?09:14??Hibert\Hibert.h
?????文件??????41984??2008-04-01?09:22??Hibert\Hibert.ncb
?????文件??????48640??2008-04-01?09:22??Hibert\Hibert.opt
?????文件???????1250??2008-04-01?09:22??Hibert\Hibert.plg
?????文件???????5405??2008-04-01?09:18??Hibert\Hibert.rc
?????文件???????4972??2008-04-01?09:22??Hibert\Hibert.txt
?????文件???????6762??2008-04-01?09:22??Hibert\HibertDlg.cpp
?????文件???????1430??2008-04-01?09:19??Hibert\HibertDlg.h
?????文件???????3579??2008-04-01?09:14??Hibert\ReadMe.txt
?????文件???????1078??2008-04-01?09:14??Hibert\res\Hibert.ico
?????文件????????398??2008-04-01?09:14??Hibert\res\Hibert.rc2
?????文件????????776??2008-04-01?09:18??Hibert\resource.h
?????文件????????208??2008-04-01?09:14??Hibert\StdAfx.cpp
?????文件???????1054??2008-04-01?09:14??Hibert\StdAfx.h
?????目錄??????????0??2008-04-01?09:14??Hibert\res
?????目錄??????????0??2008-04-01?09:25??Hibert
-----------?---------??----------?-----??----
???????????????162521????????????????????22
- 上一篇:SAP Interface
- 下一篇:自制C++矩陣計算器
評論
共有 條評論