91av视频/亚洲h视频/操亚洲美女/外国一级黄色毛片 - 国产三级三级三级三级

  • 大小: 1.84MB
    文件類型: .rar
    金幣: 2
    下載: 0 次
    發布日期: 2023-10-24
  • 語言: C/C++
  • 標簽: fractal??Koch??遞歸??

資源簡介

基于VC++用遞歸的思想,按照經典的分形理論中的Koch曲線編寫的算法,是很不錯的分形程序設計的入門資料。

資源截圖

代碼片段和文件信息

//?Koch.cpp?:?Defines?the?class?behaviors?for?the?application.
//

#include?“stdafx.h“
#include?“Koch.h“

#include?“MainFrm.h“
#include?“KochDoc.h“
#include?“KochView.h“

#ifdef?_DEBUG
#define?new?DEBUG_NEW
#undef?THIS_FILE
static?char?THIS_FILE[]?=?__FILE__;
#endif

/////////////////////////////////////////////////////////////////////////////
//?CKochApp

BEGIN_MESSAGE_MAP(CKochApp?CWinApp)
//{{AFX_MSG_MAP(CKochApp)
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)
END_MESSAGE_MAP()

/////////////////////////////////////////////////////////////////////////////
//?CKochApp?construction

CKochApp::CKochApp()
{
//?TODO:?add?construction?code?here
//?Place?all?significant?initialization?in?InitInstance
}

/////////////////////////////////////////////////////////////////////////////
//?The?one?and?only?CKochApp?object

CKochApp?theApp;

/////////////////////////////////////////////////////////////////////////////
//?CKochApp?initialization

BOOL?CKochApp::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(CKochDoc)
RUNTIME_CLASS(CMainframe)???????//?main?SDI?frame?window
RUNTIME_CLASS(CKochView));
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_SHOWMAXIMIZED);
m_pMainWnd->UpdateWindow();

return?TRUE;
}


/////////////////////////////////////////////////////////////////////////////
//?CAboutDlg?dialog?used?for?App

?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----

?????文件?????114743??2004-08-02?21:52??Koch曲線\Debug\Koch.exe

?????文件?????297560??2004-08-02?21:52??Koch曲線\Debug\Koch.ilk

?????文件??????22596??2004-08-02?20:49??Koch曲線\Debug\Koch.obj

?????文件????5513416??2004-08-02?20:49??Koch曲線\Debug\Koch.pch

?????文件?????443392??2004-08-02?21:52??Koch曲線\Debug\Koch.pdb

?????文件???????5676??2004-08-02?20:49??Koch曲線\Debug\Koch.res

?????文件??????14462??2004-08-02?20:49??Koch曲線\Debug\KochDoc.obj

?????文件??????21794??2004-08-02?21:52??Koch曲線\Debug\KochView.obj

?????文件??????15343??2004-08-02?20:49??Koch曲線\Debug\MainFrm.obj

?????文件?????105544??2004-08-02?20:49??Koch曲線\Debug\StdAfx.obj

?????文件?????197632??2004-08-02?21:59??Koch曲線\Debug\vc60.idb

?????文件?????364544??2004-08-02?21:52??Koch曲線\Debug\vc60.pdb

?????文件??????41308??2004-08-02?20:49??Koch曲線\Koch.aps

?????文件???????1750??2004-08-02?22:28??Koch曲線\Koch.clw

?????文件???????4087??2003-11-21?09:23??Koch曲線\Koch.cpp

?????文件???????4445??2003-11-21?09:23??Koch曲線\Koch.dsp

?????文件????????533??2003-11-21?09:23??Koch曲線\Koch.dsw

?????文件???????1334??2003-11-21?09:23??Koch曲線\Koch.h

?????文件?????123904??2004-08-02?22:28??Koch曲線\Koch.ncb

?????文件??????53760??2004-08-02?22:28??Koch曲線\Koch.opt

?????文件???????1607??2004-08-02?21:52??Koch曲線\Koch.plg

?????文件???????9925??2004-08-02?20:49??Koch曲線\Koch.rc

?????文件???????1702??2003-11-21?09:23??Koch曲線\KochDoc.cpp

?????文件???????1453??2003-11-21?09:23??Koch曲線\KochDoc.h

?????文件???????2650??2004-08-02?21:52??Koch曲線\KochView.cpp

?????文件???????1743??2003-11-21?09:26??Koch曲線\KochView.h

?????文件???????1635??2003-11-21?09:23??Koch曲線\MainFrm.cpp

?????文件???????1431??2003-11-21?09:23??Koch曲線\MainFrm.h

?????文件???????3950??2003-11-21?09:23??Koch曲線\ReadMe.txt

?????文件???????1078??2003-11-21?09:23??Koch曲線\res\Koch.ico

............此處省略11個文件信息

評論

共有 條評論