資源簡介
飛機飛行源代碼(VC6.0),是基于VC6.0編寫的。對于新手是很不錯的例子。

代碼片段和文件信息
//?6_1.cpp?:?Defines?the?class?behaviors?for?the?application.
//
#include?“stdafx.h“
#include?“6_1.h“
#include?“MainFrm.h“
#include?“6_1Doc.h“
#include?“6_1View.h“
#ifdef?_DEBUG
#define?new?DEBUG_NEW
#undef?THIS_FILE
static?char?THIS_FILE[]?=?__FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
//?CMy6_1App
BEGIN_MESSAGE_MAP(CMy6_1App?CWinApp)
//{{AFX_MSG_MAP(CMy6_1App)
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()
/////////////////////////////////////////////////////////////////////////////
//?CMy6_1App?construction
CMy6_1App::CMy6_1App()
{
//?TODO:?add?construction?code?here
//?Place?all?significant?initialization?in?InitInstance
}
/////////////////////////////////////////////////////////////////////////////
//?The?one?and?only?CMy6_1App?object
CMy6_1App?theApp;
/////////////////////////////////////////////////////////////////////////////
//?CMy6_1App?initialization
BOOL?CMy6_1App::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(CMy6_1Doc)
RUNTIME_CLASS(CMainframe)???????//?main?SDI?frame?window
RUNTIME_CLASS(CMy6_1View));
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();
return?TRUE;
}
/////////////////
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????目錄???????????0??2018-08-16?23:05??飛機飛行源代碼(VC6.0)\
?????文件?????????531??2018-07-24?03:14??飛機飛行源代碼(VC6.0)\1.dsw
?????文件???????58368??2018-07-24?03:14??飛機飛行源代碼(VC6.0)\1.ncb
?????文件???????52736??2018-07-24?03:14??飛機飛行源代碼(VC6.0)\1.opt
?????文件??????853200??2018-07-24?03:14??飛機飛行源代碼(VC6.0)\6_1.aps
?????文件????????1817??2018-07-24?03:14??飛機飛行源代碼(VC6.0)\6_1.clw
?????文件????????4183??2018-07-24?03:14??飛機飛行源代碼(VC6.0)\6_1.cpp
?????文件????????5088??2018-07-24?03:14??飛機飛行源代碼(VC6.0)\6_1.dsp
?????文件????????1333??2018-07-24?03:14??飛機飛行源代碼(VC6.0)\6_1.h
?????文件??????140288??2018-07-24?03:14??飛機飛行源代碼(VC6.0)\6_1.ncb
?????文件???????57856??2018-07-24?03:14??飛機飛行源代碼(VC6.0)\6_1.opt
?????文件????????1123??2018-07-24?03:14??飛機飛行源代碼(VC6.0)\6_1.plg
?????文件???????11148??2018-07-24?03:14??飛機飛行源代碼(VC6.0)\6_1.rc
?????文件????????1716??2018-07-24?03:14??飛機飛行源代碼(VC6.0)\6_1Doc.cpp
?????文件????????1456??2018-07-24?03:14??飛機飛行源代碼(VC6.0)\6_1Doc.h
?????文件????????6584??2018-07-24?03:14??飛機飛行源代碼(VC6.0)\6_1View.cpp
?????文件????????2095??2018-07-24?03:14??飛機飛行源代碼(VC6.0)\6_1View.h
?????目錄???????????0??2018-08-16?23:05??飛機飛行源代碼(VC6.0)\Debug\
?????文件?????1105973??2018-07-24?03:48??飛機飛行源代碼(VC6.0)\Debug\6_1.exe
?????文件??????349660??2018-07-24?03:48??飛機飛行源代碼(VC6.0)\Debug\6_1.ilk
?????文件???????22696??2018-07-24?03:48??飛機飛行源代碼(VC6.0)\Debug\6_1.obj
?????文件?????5564220??2018-07-24?03:49??飛機飛行源代碼(VC6.0)\Debug\6_1.pch
?????文件??????500736??2018-07-24?03:48??飛機飛行源代碼(VC6.0)\Debug\6_1.pdb
?????文件??????815624??2018-07-24?03:48??飛機飛行源代碼(VC6.0)\Debug\6_1.res
?????文件???????14458??2018-07-24?03:48??飛機飛行源代碼(VC6.0)\Debug\6_1Doc.obj
?????文件???????29974??2018-07-24?03:48??飛機飛行源代碼(VC6.0)\Debug\6_1View.obj
?????文件???????20804??2018-07-24?03:48??飛機飛行源代碼(VC6.0)\Debug\Game.obj
?????文件???????18441??2018-07-24?03:48??飛機飛行源代碼(VC6.0)\Debug\MainFrm.obj
?????文件??????105740??2018-07-24?03:48??飛機飛行源代碼(VC6.0)\Debug\StdAfx.obj
?????文件??????205824??2018-07-24?03:48??飛機飛行源代碼(VC6.0)\Debug\vc60.idb
?????文件??????364544??2018-07-24?03:48??飛機飛行源代碼(VC6.0)\Debug\vc60.pdb
............此處省略21個文件信息
- 上一篇:印刷體文字識別VC++源程序及論文
- 下一篇:數據結構C語言源碼
評論
共有 條評論