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

  • 大小: 1.95MB
    文件類型: .rar
    金幣: 2
    下載: 0 次
    發(fā)布日期: 2023-09-29
  • 語言: C/C++
  • 標簽: 三角網(wǎng)??TIN??c++??

資源簡介

用C++寫的一個簡單的三角網(wǎng)生長算法,MFC界面

資源截圖

代碼片段和文件信息

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

#include?“stdafx.h“
#include?“DrawTin.h“

#include?“MainFrm.h“
#include?“DrawTinDoc.h“
#include?“DrawTinView.h“

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

/////////////////////////////////////////////////////////////////////////////
//?CDrawTinApp

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

/////////////////////////////////////////////////////////////////////////////
//?CDrawTinApp?construction

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

/////////////////////////////////////////////////////////////////////////////
//?The?one?and?only?CDrawTinApp?object

CDrawTinApp?theApp;

/////////////////////////////////////////////////////////////////////////////
//?CDrawTinApp?initialization

BOOL?CDrawTinApp::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(CDrawTinDoc)
RUNTIME_CLASS(CMainframe)???????//?main?SDI?frame?window
RUNTIME_CLASS(CDrawTinView));
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();


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

?????文件?????151631??2012-05-01?19:05??DrawTin\Debug\DrawTin.exe

?????文件?????345328??2012-05-01?19:05??DrawTin\Debug\DrawTin.ilk

?????文件??????23134??2012-04-30?20:21??DrawTin\Debug\DrawTin.obj

?????文件????5492876??2012-04-30?18:55??DrawTin\Debug\DrawTin.pch

?????文件?????492544??2012-05-01?19:05??DrawTin\Debug\DrawTin.pdb

?????文件??????28964??2012-04-30?20:49??DrawTin\Debug\DrawTin.res

?????文件??????25373??2012-05-01?19:05??DrawTin\Debug\DrawTinDoc.obj

?????文件??????20649??2012-04-30?20:41??DrawTin\Debug\DrawTinView.obj

?????文件??????20496??2012-04-30?20:52??DrawTin\Debug\MainFrm.obj

?????文件????????550??2012-05-01?19:04??DrawTin\Debug\result.txt

?????文件?????105757??2012-04-30?20:12??DrawTin\Debug\StdAfx.obj

?????文件??????26052??2012-04-30?20:12??DrawTin\Debug\TIN.obj

?????文件????????289??2012-04-30?19:22??DrawTin\Debug\TINdata.txt

?????文件?????263168??2012-05-24?16:13??DrawTin\Debug\vc60.idb

?????文件?????454656??2012-05-01?19:05??DrawTin\Debug\vc60.pdb

?????文件??????50856??2012-05-24?16:12??DrawTin\DrawTin.aps

?????文件???????2205??2012-05-24?16:13??DrawTin\DrawTin.clw

?????文件???????4227??2012-04-30?18:51??DrawTin\DrawTin.cpp

?????文件???????4761??2012-04-30?20:49??DrawTin\DrawTin.dsp

?????文件????????522??2012-04-30?18:51??DrawTin\DrawTin.dsw

?????文件???????1367??2012-04-30?18:51??DrawTin\DrawTin.h

?????文件??????82944??2012-05-24?16:13??DrawTin\DrawTin.ncb

?????文件??????50688??2012-05-24?16:13??DrawTin\DrawTin.opt

?????文件????????746??2012-05-01?19:05??DrawTin\DrawTin.plg

?????文件??????11708??2012-04-30?20:49??DrawTin\DrawTin.rc

?????文件???????2284??2012-05-01?19:05??DrawTin\DrawTinDoc.cpp

?????文件???????1560??2012-04-30?20:15??DrawTin\DrawTinDoc.h

?????文件???????2989??2012-04-30?20:40??DrawTin\DrawTinView.cpp

?????文件???????1907??2012-04-30?18:51??DrawTin\DrawTinView.h

?????文件???????2671??2012-04-30?20:52??DrawTin\MainFrm.cpp

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

評論

共有 條評論