資源簡介
計算機圖形學實驗(平移,縮放,旋轉),內有源代碼,與可執(zhí)行程序
代碼片段和文件信息
//?ShiYan_2.cpp?:?定義應用程序的類行為。
//
#include?“stdafx.h“
#include?“ShiYan_2.h“
#include?“ShiYan_2Dlg.h“
#ifdef?_DEBUG
#define?new?DEBUG_NEW
#endif
//?CShiYan_2App
BEGIN_MESSAGE_MAP(CShiYan_2App?CWinApp)
ON_COMMAND(ID_HELP?&CWinApp::onhelp)
END_MESSAGE_MAP()
//?CShiYan_2App?構造
CShiYan_2App::CShiYan_2App()
{
//?TODO:?在此處添加構造代碼,
//?將所有重要的初始化放置在?InitInstance?中
}
//?唯一的一個?CShiYan_2App?對象
CShiYan_2App?theApp;
//?CShiYan_2App?初始化
BOOL?CShiYan_2App::InitInstance()
{
//?如果一個運行在?Windows?XP?上的應用程序清單指定要
//?使用?ComCtl32.dll?版本?6?或更高版本來啟用可視化方式,
//則需要?InitCommonControlsEx()。否則,將無法創(chuàng)建窗口。
INITCOMMONCONTROLSEX?InitCtrls;
InitCtrls.dwSize?=?sizeof(InitCtrls);
//?將它設置為包括所有要在應用程序中使用的
//?公共控件類。
InitCtrls.dwICC?=?ICC_WIN95_CLASSES;
InitCommonControlsEx(&InitCtrls);
CWinApp::InitInstance();
AfxEnableControlContainer();
//?標準初始化
//?如果未使用這些功能并希望減小
//?最終可執(zhí)行文件的大小,則應移除下列
//?不需要的特定初始化例程
//?更改用于存儲設置的注冊表項
//?TODO:?應適當修改該字符串,
//?例如修改為公司或組織名
SetRegistryKey(_T(“應用程序向導生成的本地應用程序“));
CShiYan_2Dlg?dlg;
m_pMainWnd?=?&dlg;
INT_PTR?nResponse?=?dlg.DoModal();
if?(nResponse?==?IDOK)
{
//?TODO:?在此放置處理何時用
//??“確定”來關閉對話框的代碼
}
else?if?(nResponse?==?IDCANCEL)
{
//?TODO:?在此放置處理何時用
//??“取消”來關閉對話框的代碼
}
//?由于對話框已關閉,所以將返回?FALSE?以便退出應用程序,
//??而不是啟動應用程序的消息泵。
return?FALSE;
}
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????文件????2395136??2009-07-11?00:42??圖形學實驗2\ShiYan_2\Debug\ShiYan_2.exe
?????文件????6883344??2009-07-11?00:42??圖形學實驗2\ShiYan_2\Debug\ShiYan_2.ilk
?????文件???12889088??2009-07-11?00:42??圖形學實驗2\ShiYan_2\Debug\ShiYan_2.pdb
?????文件???????5820??2009-07-11?00:42??圖形學實驗2\ShiYan_2\ShiYan_2\Debug\BuildLog.htm
?????文件?????????67??2009-07-11?00:42??圖形學實驗2\ShiYan_2\ShiYan_2\Debug\mt.dep
?????文件????????682??2009-06-14?16:55??圖形學實驗2\ShiYan_2\ShiYan_2\Debug\ShiYan_2.exe.em
?????文件????????748??2009-06-14?16:55??圖形學實驗2\ShiYan_2\ShiYan_2\Debug\ShiYan_2.exe.em
?????文件????????640??2009-07-11?00:42??圖形學實驗2\ShiYan_2\ShiYan_2\Debug\ShiYan_2.exe.intermediate.manifest
?????文件??????20900??2009-06-16?13:48??圖形學實驗2\ShiYan_2\ShiYan_2\Debug\ShiYan_2.obj
?????文件???24510464??2009-06-14?16:55??圖形學實驗2\ShiYan_2\ShiYan_2\Debug\ShiYan_2.pch
?????文件??????33496??2009-07-11?00:42??圖形學實驗2\ShiYan_2\ShiYan_2\Debug\ShiYan_2.res
?????文件?????116015??2009-06-16?13:55??圖形學實驗2\ShiYan_2\ShiYan_2\Debug\ShiYan_2Dlg.obj
?????文件?????464392??2009-06-14?16:55??圖形學實驗2\ShiYan_2\ShiYan_2\Debug\stdafx.obj
?????文件?????896000??2009-06-16?13:55??圖形學實驗2\ShiYan_2\ShiYan_2\Debug\vc90.idb
?????文件????1994752??2009-06-16?13:55??圖形學實驗2\ShiYan_2\ShiYan_2\Debug\vc90.pdb
?????文件???????2909??2009-06-14?15:57??圖形學實驗2\ShiYan_2\ShiYan_2\ReadMe.txt
?????文件??????21630??2003-07-24?09:52??圖形學實驗2\ShiYan_2\ShiYan_2\res\ShiYan_2.ico
?????文件????????364??2009-06-14?15:57??圖形學實驗2\ShiYan_2\ShiYan_2\res\ShiYan_2.rc2
?????文件????????910??2009-06-16?13:46??圖形學實驗2\ShiYan_2\ShiYan_2\resource.h
?????文件??????58912??2009-07-11?00:42??圖形學實驗2\ShiYan_2\ShiYan_2\ShiYan_2.aps
?????文件???????1673??2009-06-14?15:57??圖形學實驗2\ShiYan_2\ShiYan_2\ShiYan_2.cpp
?????文件????????453??2009-06-14?15:57??圖形學實驗2\ShiYan_2\ShiYan_2\ShiYan_2.h
?????文件???????5642??2009-07-11?00:42??圖形學實驗2\ShiYan_2\ShiYan_2\ShiYan_2.rc
?????文件???????5492??2009-06-15?22:01??圖形學實驗2\ShiYan_2\ShiYan_2\ShiYan_2.vcproj
?????文件???????1407??2009-07-11?00:43??圖形學實驗2\ShiYan_2\ShiYan_2\ShiYan_2.vcproj.XIXIA.Administrator.user
?????文件???????8944??2009-06-16?13:55??圖形學實驗2\ShiYan_2\ShiYan_2\ShiYan_2Dlg.cpp
?????文件???????1790??2009-06-16?13:47??圖形學實驗2\ShiYan_2\ShiYan_2\ShiYan_2Dlg.h
?????文件????????139??2009-06-14?15:57??圖形學實驗2\ShiYan_2\ShiYan_2\stdafx.cpp
?????文件???????1796??2009-06-14?15:57??圖形學實驗2\ShiYan_2\ShiYan_2\stdafx.h
?????文件???????1030??2009-06-14?15:57??圖形學實驗2\ShiYan_2\ShiYan_2\targetver.h
............此處省略13個文件信息
評論
共有 條評論