资源简介
C++MFC实现的绘制正方体的三视图,自己做的第一个啦,努力努力
代码片段和文件信息
// 310603040129.cpp : Defines the class behaviors for the application.
//
#include “stdafx.h“
#include “310603040129.h“
#include “MainFrm.h“
#include “310603040129Doc.h“
#include “310603040129View.h“
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CMy310603040129App
BEGIN_MESSAGE_MAP(CMy310603040129App CWinApp)
//{{AFX_MSG_MAP(CMy310603040129App)
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()
/////////////////////////////////////////////////////////////////////////////
// CMy310603040129App construction
CMy310603040129App::CMy310603040129App()
{
// TODO: add construction code here
// Place all significant initialization in InitInstance
}
/////////////////////////////////////////////////////////////////////////////
// The one and only CMy310603040129App object
CMy310603040129App theApp;
/////////////////////////////////////////////////////////////////////////////
// CMy310603040129App initialization
BOOL CMy310603040129App::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(CMy310603040129Doc)
RUNTIME_CLASS(CMainframe) // main SDI frame window
RUNTIME_CLASS(CMy310603040129View));
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
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 44628 2004-01-04 18:18 310603040129\310603040129.aps
文件 2529 2004-01-04 18:34 310603040129\310603040129.clw
文件 4345 2004-01-04 18:00 310603040129\310603040129.cpp
文件 4681 2004-01-04 18:00 310603040129\310603040129.dsp
文件 530 2004-01-04 18:00 310603040129\310603040129.dsw
文件 1432 2004-01-04 18:00 310603040129\310603040129.h
文件 50176 2004-01-04 18:37 310603040129\310603040129.ncb
文件 48640 2004-01-04 18:37 310603040129\310603040129.opt
文件 258 2004-01-04 18:37 310603040129\310603040129.plg
文件 11834 2004-01-04 18:18 310603040129\310603040129.rc
文件 1896 2004-01-04 18:00 310603040129\310603040129Doc.cpp
文件 1555 2004-01-04 18:00 310603040129\310603040129Doc.h
文件 9714 2004-01-04 18:37 310603040129\310603040129View.cpp
文件 2476 2004-01-04 18:34 310603040129\310603040129View.h
文件 2513 2004-01-04 18:00 310603040129\MainFrm.cpp
文件 1581 2004-01-04 18:00 310603040129\MainFrm.h
文件 4469 2004-01-04 18:00 310603040129\ReadMe.txt
文件 787 2004-01-04 18:18 310603040129\resource.h
文件 214 2004-01-04 18:00 310603040129\StdAfx.cpp
文件 1054 2004-01-04 18:00 310603040129\StdAfx.h
文件 1078 2004-01-04 18:00 310603040129\res\310603040129.ico
文件 404 2004-01-04 18:00 310603040129\res\310603040129.rc2
文件 1078 2004-01-04 18:00 310603040129\res\310603040129Doc.ico
文件 1558 2004-01-04 18:18 310603040129\res\Toolbar.bmp
文件 127031 2004-01-04 18:37 310603040129\Debug\310603040129.exe
文件 351508 2004-01-04 18:37 310603040129\Debug\310603040129.ilk
文件 23142 2004-01-04 18:35 310603040129\Debug\310603040129.obj
文件 5507044 2004-01-04 18:18 310603040129\Debug\310603040129.pch
文件 451584 2004-01-04 18:37 310603040129\Debug\310603040129.pdb
文件 7888 2004-01-04 18:18 310603040129\Debug\310603040129.res
............此处省略12个文件信息
- 上一篇:VC6.0 OpenCV 摄像头程序
- 下一篇:C++语言学习教程
评论
共有 条评论