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

  • 大小: 2.4MB
    文件類型: .zip
    金幣: 2
    下載: 0 次
    發布日期: 2023-10-27
  • 語言: C/C++
  • 標簽: MFC??投影??

資源簡介

計算機圖形學 MFC 投影 該程序可以作為學生程序上交

資源截圖

代碼片段和文件信息

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

#include?“stdafx.h“
#include?“CGframework.h“

#include?“MainFrm.h“
#include?“CGframeworkDoc.h“
#include?“CGframeworkView.h“

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

CRuntimeClassList?g_RuntimeClassList;

BOOL CGFRegisterController(?CRuntimeClass*?pControllerClass?)
{
//?檢查是否有重復項,有則直接返回
for(?CRuntimeClassList::iterator?it?=?g_RuntimeClassList.begin();?it?!=?g_RuntimeClassList.end();?it++?)
{
if(?strcmp(?pControllerClass->m_lpszClassName?(*it)->m_lpszClassName?)?==?0?)
return?FALSE;
}

g_RuntimeClassList.push_back(?pControllerClass?);
return?TRUE;
}

/////////////////////////////////////////////////////////////////////////////
//?CCGframeworkApp

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

/////////////////////////////////////////////////////////////////////////////
//?CCGframeworkApp?construction

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

/////////////////////////////////////////////////////////////////////////////
//?The?one?and?only?CCGframeworkApp?object

CCGframeworkApp?theApp;

/////////////////////////////////////////////////////////////////////////////
//?CCGframeworkApp?initialization

BOOL?CCGframeworkApp::InitInstance()
{
//?初始化控制器列表
CGFInit();

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(CCGframeworkDoc)

?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????目錄???????????0??2014-06-04?15:50??投影\
?????文件???????43877??2014-06-04?15:49??投影\CGframework.aps
?????文件????????2411??2014-06-04?15:49??投影\CGframework.clw
?????文件????????4768??2014-06-04?15:49??投影\CGframework.cpp
?????文件????????5684??2014-06-04?15:49??投影\CGframework.dsp
?????文件?????????545??2014-06-04?15:49??投影\CGframework.dsw
?????文件????????1649??2014-06-04?15:49??投影\CGframework.h
?????文件??????181248??2014-06-04?15:50??投影\CGframework.ncb
?????文件???????49664??2014-06-04?15:50??投影\CGframework.opt
?????文件????????2501??2014-06-04?15:50??投影\CGframework.plg
?????文件???????11134??2014-06-04?15:49??投影\CGframework.rc
?????文件????????1842??2014-06-04?15:49??投影\CGframeworkDoc.cpp
?????文件????????1530??2014-06-04?15:49??投影\CGframeworkDoc.h
?????文件????????5870??2014-06-04?15:49??投影\CGframeworkView.cpp
?????文件????????2470??2014-06-04?15:49??投影\CGframeworkView.h
?????文件????????3345??2014-06-04?15:49??投影\Controllerbase.cpp
?????文件????????2619??2014-06-04?15:49??投影\Controllerbase.h
?????目錄???????????0??2014-06-04?15:50??投影\Debug\
?????文件??????151625??2014-06-04?15:50??投影\Debug\CGframework.exe
?????文件??????404108??2014-06-04?15:50??投影\Debug\CGframework.ilk
?????文件???????46281??2014-06-04?15:50??投影\Debug\CGframework.obj
?????文件?????5500532??2014-06-04?15:50??投影\Debug\CGframework.pch
?????文件??????418816??2014-06-04?15:50??投影\Debug\CGframework.pdb
?????文件????????6964??2014-06-04?15:50??投影\Debug\CGframework.res
?????文件???????19242??2014-06-04?15:50??投影\Debug\CGframeworkDoc.obj
?????文件???????40569??2014-06-04?15:50??投影\Debug\CGframeworkView.obj
?????文件???????28566??2014-06-04?15:50??投影\Debug\Controllerbase.obj
?????文件???????21755??2014-06-04?15:50??投影\Debug\DlgSelectController.obj
?????文件???????44469??2014-06-04?15:50??投影\Debug\Ex4.obj
?????文件????????6965??2014-06-04?15:50??投影\Debug\Init.obj
?????文件???????24270??2014-06-04?15:50??投影\Debug\MainFrm.obj
............此處省略25個文件信息

評論

共有 條評論