fightertestdoc.cpp
来自「飞机飞行游戏演示代码,1.界面美观大方 2.电脑智能下棋 3.有多种难度选择 4」· C++ 代码 · 共 85 行
CPP
85 行
// FighterTestDoc.cpp : implementation of the CFighterTestDoc class
//
#include "stdafx.h"
#include "FighterTest.h"
#include "FighterTestDoc.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CFighterTestDoc
IMPLEMENT_DYNCREATE(CFighterTestDoc, CDocument)
BEGIN_MESSAGE_MAP(CFighterTestDoc, CDocument)
//{{AFX_MSG_MAP(CFighterTestDoc)
// 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
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
// CFighterTestDoc construction/destruction
CFighterTestDoc::CFighterTestDoc()
{
// TODO: add one-time construction code here
}
CFighterTestDoc::~CFighterTestDoc()
{
}
BOOL CFighterTestDoc::OnNewDocument()
{
if (!CDocument::OnNewDocument())
return FALSE;
// TODO: add reinitialization code here
// (SDI documents will reuse this document)
return TRUE;
}
/////////////////////////////////////////////////////////////////////////////
// CFighterTestDoc serialization
void CFighterTestDoc::Serialize(CArchive& ar)
{
if (ar.IsStoring())
{
// TODO: add storing code here
}
else
{
// TODO: add loading code here
}
}
/////////////////////////////////////////////////////////////////////////////
// CFighterTestDoc diagnostics
#ifdef _DEBUG
void CFighterTestDoc::AssertValid() const
{
CDocument::AssertValid();
}
void CFighterTestDoc::Dump(CDumpContext& dc) const
{
CDocument::Dump(dc);
}
#endif //_DEBUG
/////////////////////////////////////////////////////////////////////////////
// CFighterTestDoc commands
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?