資源簡介
上 課 老 師 講 的 五 角 星 繪 制,

代碼片段和文件信息
//?10_13_4.cpp?:?Defines?the?class?behaviors?for?the?application.
//
#include?“stdafx.h“
#include?“10_13_4.h“
#include?“MainFrm.h“
#include?“10_13_4Doc.h“
#include?“10_13_4View.h“
#ifdef?_DEBUG
#define?new?DEBUG_NEW
#undef?THIS_FILE
static?char?THIS_FILE[]?=?__FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
//?CMy10_13_4App
BEGIN_MESSAGE_MAP(CMy10_13_4App?CWinApp)
//{{AFX_MSG_MAP(CMy10_13_4App)
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()
/////////////////////////////////////////////////////////////////////////////
//?CMy10_13_4App?construction
CMy10_13_4App::CMy10_13_4App()
{
//?TODO:?add?construction?code?here
//?Place?all?significant?initialization?in?InitInstance
}
/////////////////////////////////////////////////////////////////////////////
//?The?one?and?only?CMy10_13_4App?object
CMy10_13_4App?theApp;
/////////////////////////////////////////////////////////////////////////////
//?CMy10_13_4App?initialization
BOOL?CMy10_13_4App::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(CMy10_13_4Doc)
RUNTIME_CLASS(CMainframe)???????//?main?SDI?frame?window
RUNTIME_CLASS(CMy10_13_4View));
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_pMai
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????文件??????28432??2012-10-25?21:31??10_13_4\10_13_4.aps
?????文件???????2217??2012-10-25?21:31??10_13_4\10_13_4.clw
?????文件???????4255??2012-10-13?19:01??10_13_4\10_13_4.cpp
?????文件???????4576??2012-10-13?19:01??10_13_4\10_13_4.dsp
?????文件????????522??2012-10-13?19:01??10_13_4\10_13_4.dsw
?????文件???????1377??2012-10-13?19:01??10_13_4\10_13_4.h
?????文件??????74752??2012-11-05?17:45??10_13_4\10_13_4.ncb
?????文件??????53760??2012-11-05?17:45??10_13_4\10_13_4.opt
?????文件???????2152??2012-10-25?21:28??10_13_4\10_13_4.plg
?????文件??????10567??2012-10-13?19:01??10_13_4\10_13_4.rc
?????文件???????1796??2012-10-13?19:01??10_13_4\10_13_4Doc.cpp
?????文件???????1500??2012-10-13?19:01??10_13_4\10_13_4Doc.h
?????文件???????4316??2012-10-13?20:21??10_13_4\10_13_4View.cpp
?????文件???????1929??2012-10-13?19:01??10_13_4\10_13_4View.h
?????文件?????118842??2012-10-25?21:28??10_13_4\Debug\10_13_4.exe
?????文件?????297780??2012-10-25?21:28??10_13_4\Debug\10_13_4.ilk
?????文件??????22786??2012-10-25?21:28??10_13_4\Debug\10_13_4.obj
?????文件????5499520??2012-10-25?21:28??10_13_4\Debug\10_13_4.pch
?????文件?????320512??2012-10-25?21:28??10_13_4\Debug\10_13_4.pdb
?????文件???????7288??2012-10-25?21:28??10_13_4\Debug\10_13_4.res
?????文件??????14565??2012-10-25?21:28??10_13_4\Debug\10_13_4Doc.obj
?????文件??????22396??2012-10-25?21:28??10_13_4\Debug\10_13_4View.obj
?????文件??????19603??2012-10-25?21:28??10_13_4\Debug\MainFrm.obj
?????文件?????105330??2012-10-25?21:28??10_13_4\Debug\StdAfx.obj
?????文件?????189440??2012-11-04?19:00??10_13_4\Debug\vc60.idb
?????文件?????364544??2012-10-25?21:28??10_13_4\Debug\vc60.pdb
?????文件???????2508??2012-10-13?19:01??10_13_4\MainFrm.cpp
?????文件???????1581??2012-10-13?19:01??10_13_4\MainFrm.h
?????文件???????4349??2012-10-13?19:01??10_13_4\ReadMe.txt
?????文件???????1078??2012-10-13?19:01??10_13_4\res\10_13_4.ico
............此處省略12個文件信息
- 上一篇:使用c++做好看的界面
- 下一篇:最小生成樹圖形化實現
評論
共有 條評論