資源簡介
利用C++ 做的阿倫方差的圖形顯示,含有注釋。

代碼片段和文件信息
//?Allan.cpp?:?Defines?the?class?behaviors?for?the?application.
//
#include?“stdafx.h“
#include?“Allan.h“
#include?“MainFrm.h“
#include?“AllanDoc.h“
#include?“AllanView.h“
#ifdef?_DEBUG
#define?new?DEBUG_NEW
#undef?THIS_FILE
static?char?THIS_FILE[]?=?__FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
//?CAllanApp
BEGIN_MESSAGE_MAP(CAllanApp?CWinApp)
//{{AFX_MSG_MAP(CAllanApp)
ON_COMMAND(ID_APP_ABOUT?OnAppAbout)
//?NOTE?-?the?ClassWizard?will?add?and?remove?mapping?macros?here.
//????DO?NOT?EDIT?what?you?see?in?these?blocks?of?generated?code!
//}}AFX_MSG_MAP
//?Standard?file?based?document?commands
ON_COMMAND(ID_FILE_NEW?CWinApp::OnFileNew)
ON_COMMAND(ID_FILE_OPEN?CWinApp::OnFileOpen)
//?Standard?print?setup?command
ON_COMMAND(ID_FILE_PRINT_SETUP?CWinApp::OnFilePrintSetup)
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
//?CAllanApp?construction
CAllanApp::CAllanApp()
{
//?TODO:?add?construction?code?here
//?Place?all?significant?initialization?in?InitInstance
}
/////////////////////////////////////////////////////////////////////////////
//?The?one?and?only?CAllanApp?object
CAllanApp?theApp;
/////////////////////////////////////////////////////////////////////////////
//?CAllanApp?initialization
BOOL?CAllanApp::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
//?Change?the?registry?key?under?which?our?settings?are?stored.
//?TODO:?You?should?modify?this?string?to?be?something?appropriate
//?such?as?the?name?of?your?company?or?organization.
SetRegistryKey(_T(“Local?AppWizard-Generated?Applications“));
LoadStdProfileSettings();??//?Load?standard?INI?file?options?(including?MRU)
//?Register?the?application‘s?document?templates.??Document?templates
//??serve?as?the?connection?between?documents?frame?windows?and?views.
CSingleDocTemplate*?pDocTemplate;
pDocTemplate?=?new?CSingleDocTemplate(
IDR_MAINframe
RUNTIME_CLASS(CAllanDoc)
RUNTIME_CLASS(CMainframe)???????//?main?SDI?frame?window
RUNTIME_CLASS(CAllanView));
AddDocTemplate(pDocTemplate);
//?Parse?command?line?for?standard?shell?commands?DDE?file?open
CCommandLineInfo?cmdInfo;
ParseCommandLine(cmdInfo);
//?Dispatch?commands?specified?on?the?command?line
if?(!ProcessShellCommand(cmdInfo))
return?FALSE;
//?The?one?and?only?window?has?been?initialized?so?show?and?update?it.
m_pMainWnd->ShowWindow(SW_SHOW);
m_pMainWnd->UpdateWindow();
return?TRUE;
}
/////////
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????文件??????45312??2008-12-09?11:03??Allan\Allan.aps
?????文件???????4191??2008-12-08?14:54??Allan\Allan.cpp
?????文件???????5043??2008-12-09?11:18??Allan\Allan.dsp
?????文件????????533??2008-12-08?14:54??Allan\Allan.dsw
?????文件???????1345??2008-12-08?14:54??Allan\Allan.h
?????文件??????55808??2008-12-09?11:18??Allan\Allan.opt
?????文件????????926??2008-12-09?11:03??Allan\Allan.plg
?????文件??????13598??2008-12-09?11:03??Allan\Allan.rc
?????文件???????1726??2008-12-09?09:31??Allan\AllanDoc.cpp
?????文件???????1464??2008-12-08?14:54??Allan\AllanDoc.h
?????文件???????6012??2008-12-09?11:18??Allan\AllanView.cpp
?????文件???????2079??2008-12-09?10:47??Allan\AllanView.h
?????文件???????1536??2008-12-09?10:32??Allan\ImportDlg.cpp
?????文件???????1223??2008-12-09?10:28??Allan\ImportDlg.h
?????文件???????2567??2008-12-09?10:52??Allan\MainFrm.cpp
?????文件???????1581??2008-12-08?14:54??Allan\MainFrm.h
?????文件???????2408??2008-12-09?11:18??Allan\Norm.cpp
?????文件????????755??2008-12-09?10:00??Allan\Norm.h
?????文件???????4287??2008-12-08?14:54??Allan\ReadMe.txt
?????文件???????1078??2008-12-08?14:54??Allan\res\Allan.ico
?????文件????????397??2008-12-08?14:54??Allan\res\Allan.rc2
?????文件???????1078??2008-12-08?14:54??Allan\res\AllanDoc.ico
????..A.SH.?????12288??2009-03-18?08:24??Allan\res\Thumbs.db
?????文件???????1078??2008-12-08?14:54??Allan\res\Toolbar.bmp
?????文件???????1191??2008-12-09?10:32??Allan\resource.h
?????文件???????1922??2008-12-09?11:18??Allan\SaveDlg.cpp
?????文件???????1212??2008-12-08?17:25??Allan\SaveDlg.h
?????文件???????1262??2008-12-09?09:46??Allan\SettingDlg.cpp
?????文件???????1219??2008-12-09?09:45??Allan\SettingDlg.h
?????文件????????207??2008-12-08?14:54??Allan\StdAfx.cpp
............此處省略6個文件信息
評論
共有 條評論