資源簡(jiǎn)介
直線段剪裁算法實(shí)現(xiàn)

代碼片段和文件信息
//?homework2.cpp?:?Defines?the?class?behaviors?for?the?application.
//
#include?“stdafx.h“
#include?“homework2.h“
#include?“MainFrm.h“
#include?“homework2Doc.h“
#include?“homework2View.h“
#ifdef?_DEBUG
#define?new?DEBUG_NEW
#undef?THIS_FILE
static?char?THIS_FILE[]?=?__FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
//?CHomework2App
BEGIN_MESSAGE_MAP(CHomework2App?CWinApp)
//{{AFX_MSG_MAP(CHomework2App)
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()
/////////////////////////////////////////////////////////////////////////////
//?CHomework2App?construction
CHomework2App::CHomework2App()
{
//?TODO:?add?construction?code?here
//?Place?all?significant?initialization?in?InitInstance
}
/////////////////////////////////////////////////////////////////////////////
//?The?one?and?only?CHomework2App?object
CHomework2App?theApp;
/////////////////////////////////////////////////////////////////////////////
//?CHomework2App?initialization
BOOL?CHomework2App::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(CHomework2Doc)
RUNTIME_CLASS(CMainframe)???????//?main?SDI?frame?window
RUNTIME_CLASS(CHomework2View));
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);
?屬性????????????大小?????日期????時(shí)間???名稱
-----------?---------??----------?-----??----
?????文件??????46092??2015-11-17?23:37??多邊形畫法實(shí)現(xiàn)\homework2.aps
?????文件???????3487??2015-12-13?14:42??多邊形畫法實(shí)現(xiàn)\homework2.clw
?????文件???????4263??2015-10-10?15:11??多邊形畫法實(shí)現(xiàn)\homework2.cpp
?????文件???????4838??2015-10-10?22:13??多邊形畫法實(shí)現(xiàn)\homework2.dsp
?????文件????????526??2015-10-10?15:11??多邊形畫法實(shí)現(xiàn)\homework2.dsw
?????文件???????1389??2015-10-10?15:11??多邊形畫法實(shí)現(xiàn)\homework2.h
?????文件?????140288??2015-12-13?14:42??多邊形畫法實(shí)現(xiàn)\homework2.ncb
?????文件??????49664??2015-12-13?14:42??多邊形畫法實(shí)現(xiàn)\homework2.opt
?????文件???????2389??2015-11-18?19:30??多邊形畫法實(shí)現(xiàn)\homework2.plg
?????文件??????13602??2015-11-17?23:37??多邊形畫法實(shí)現(xiàn)\homework2.rc
?????文件???????1802??2015-10-10?15:11??多邊形畫法實(shí)現(xiàn)\homework2Doc.cpp
?????文件???????1508??2015-10-10?15:11??多邊形畫法實(shí)現(xiàn)\homework2Doc.h
?????文件???????3120??2015-11-17?23:55??多邊形畫法實(shí)現(xiàn)\homework2View.cpp
?????文件???????1904??2015-10-10?15:48??多邊形畫法實(shí)現(xiàn)\homework2View.h
?????文件???????3128??2015-11-18?19:29??多邊形畫法實(shí)現(xiàn)\Line.cpp
?????文件????????780??2015-11-17?23:56??多邊形畫法實(shí)現(xiàn)\Line.h
?????文件???????1429??2015-11-17?23:50??多邊形畫法實(shí)現(xiàn)\LineDlg.cpp
?????文件???????1314??2015-11-17?23:50??多邊形畫法實(shí)現(xiàn)\LineDlg.h
?????文件???????2510??2015-10-10?15:11??多邊形畫法實(shí)現(xiàn)\MainFrm.cpp
?????文件???????1581??2015-10-10?15:11??多邊形畫法實(shí)現(xiàn)\MainFrm.h
?????文件???????4383??2015-10-10?15:11??多邊形畫法實(shí)現(xiàn)\ReadMe.txt
?????文件???????1078??2015-10-10?15:11??多邊形畫法實(shí)現(xiàn)\res\homework2.ico
?????文件????????401??2015-10-10?15:11??多邊形畫法實(shí)現(xiàn)\res\homework2.rc2
?????文件???????1078??2015-10-10?15:11??多邊形畫法實(shí)現(xiàn)\res\homework2Doc.ico
?????文件???????1078??2015-10-10?15:11??多邊形畫法實(shí)現(xiàn)\res\Toolbar.bmp
?????文件???????1194??2015-11-17?23:35??多邊形畫法實(shí)現(xiàn)\resource.h
?????文件????????211??2015-10-10?15:11??多邊形畫法實(shí)現(xiàn)\StdAfx.cpp
?????文件???????1054??2015-10-10?15:11??多邊形畫法實(shí)現(xiàn)\StdAfx.h
?????文件???????3357??2015-11-22?16:27??多邊形畫法實(shí)現(xiàn)\算法實(shí)現(xiàn)win32\1.cpp
?????文件???????4476??2015-11-22?16:20??多邊形畫法實(shí)現(xiàn)\算法實(shí)現(xiàn)win32\1.dsp
............此處省略23個(gè)文件信息
評(píng)論
共有 條評(píng)論