資源簡介
計算機圖形學 基本圖形繪制 基本圖形操作 Koch雪花繪制 線的平移操作
有詳細代碼 可以執(zhí)行

代碼片段和文件信息
//?gaozemin.cpp?:?Defines?the?class?behaviors?for?the?application.
//
#include?“stdafx.h“
#include?“gaozemin.h“
#include?“MainFrm.h“
#include?“gaozeminDoc.h“
#include?“gaozeminView.h“
#ifdef?_DEBUG
#define?new?DEBUG_NEW
#undef?THIS_FILE
static?char?THIS_FILE[]?=?__FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
//?CGaozeminApp
BEGIN_MESSAGE_MAP(CGaozeminApp?CWinApp)
//{{AFX_MSG_MAP(CGaozeminApp)
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()
/////////////////////////////////////////////////////////////////////////////
//?CGaozeminApp?construction
CGaozeminApp::CGaozeminApp()
{
//?TODO:?add?construction?code?here
//?Place?all?significant?initialization?in?InitInstance
}
/////////////////////////////////////////////////////////////////////////////
//?The?one?and?only?CGaozeminApp?object
CGaozeminApp?theApp;
/////////////////////////////////////////////////////////////////////////////
//?CGaozeminApp?initialization
BOOL?CGaozeminApp::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(CGaozeminDoc)
RUNTIME_CLASS(CMainframe)???????//?main?SDI?frame?window
RUNTIME_CLASS(CGaozeminView));
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->Up
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????文件?????118855??2012-06-13?20:20??gaozemin\Debug\gaozemin.exe
?????文件?????351748??2012-06-13?20:20??gaozemin\Debug\gaozemin.ilk
?????文件??????22866??2012-06-13?20:18??gaozemin\Debug\gaozemin.obj
?????文件????5498748??2012-06-13?20:03??gaozemin\Debug\gaozemin.pch
?????文件?????492544??2012-06-13?20:20??gaozemin\Debug\gaozemin.pdb
?????文件???????7744??2012-06-13?20:10??gaozemin\Debug\gaozemin.res
?????文件??????14631??2012-06-13?20:03??gaozemin\Debug\gaozeminDoc.obj
?????文件??????19594??2012-06-13?20:03??gaozemin\Debug\gaozeminView.obj
?????文件??????34479??2012-06-13?20:19??gaozemin\Debug\MainFrm.obj
?????文件??????11430??2012-06-13?20:18??gaozemin\Debug\ProcessingMoveDlg.obj
?????文件?????105445??2012-06-13?20:03??gaozemin\Debug\StdAfx.obj
?????文件?????214016??2012-06-13?21:00??gaozemin\Debug\vc60.idb
?????文件?????364544??2012-06-13?20:19??gaozemin\Debug\vc60.pdb
?????文件??????44744??2012-06-13?20:09??gaozemin\gaozemin.aps
?????文件???????2957??2012-06-14?10:39??gaozemin\gaozemin.clw
?????文件???????4245??2012-06-13?19:51??gaozemin\gaozemin.cpp
?????文件???????4743??2012-06-13?20:20??gaozemin\gaozemin.dsp
?????文件????????524??2012-06-13?19:51??gaozemin\gaozemin.dsw
?????文件???????1378??2012-06-13?19:51??gaozemin\gaozemin.h
?????文件??????58368??2012-06-14?10:41??gaozemin\gaozemin.ncb
?????文件??????49664??2012-06-13?21:42??gaozemin\gaozemin.opt
?????文件????????778??2012-06-13?20:20??gaozemin\gaozemin.plg
?????文件??????12763??2012-06-13?20:09??gaozemin\gaozemin.rc
?????文件???????1782??2012-06-13?19:51??gaozemin\gaozeminDoc.cpp
?????文件???????1497??2012-06-13?19:51??gaozemin\gaozeminDoc.h
?????文件???????2639??2012-06-13?19:51??gaozemin\gaozeminView.cpp
?????文件???????1923??2012-06-13?19:51??gaozemin\gaozeminView.h
?????文件???????4993??2012-06-13?20:19??gaozemin\MainFrm.cpp
?????文件???????1660??2012-06-13?20:16??gaozemin\MainFrm.h
?????文件???????1438??2012-06-13?20:18??gaozemin\ProcessingMoveDlg.cpp
............此處省略15個文件信息
評論
共有 條評論