exam1_1_8doc.cpp

来自「深入剖析Visual C++编程技术及应用实例」· C++ 代码 · 共 85 行

CPP
85
字号
// Exam1_1_8Doc.cpp : implementation of the CExam1_1_8Doc class
//

#include "stdafx.h"
#include "Exam1_1_8.h"

#include "Exam1_1_8Doc.h"

#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif

/////////////////////////////////////////////////////////////////////////////
// CExam1_1_8Doc

IMPLEMENT_DYNCREATE(CExam1_1_8Doc, CDocument)

BEGIN_MESSAGE_MAP(CExam1_1_8Doc, CDocument)
	//{{AFX_MSG_MAP(CExam1_1_8Doc)
		// 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()

/////////////////////////////////////////////////////////////////////////////
// CExam1_1_8Doc construction/destruction

CExam1_1_8Doc::CExam1_1_8Doc()
{
	// TODO: add one-time construction code here

}

CExam1_1_8Doc::~CExam1_1_8Doc()
{
}

BOOL CExam1_1_8Doc::OnNewDocument()
{
	if (!CDocument::OnNewDocument())
		return FALSE;

	// TODO: add reinitialization code here
	// (SDI documents will reuse this document)

	return TRUE;
}



/////////////////////////////////////////////////////////////////////////////
// CExam1_1_8Doc serialization

void CExam1_1_8Doc::Serialize(CArchive& ar)
{
	if (ar.IsStoring())
	{
		// TODO: add storing code here
	}
	else
	{
		// TODO: add loading code here
	}
}

/////////////////////////////////////////////////////////////////////////////
// CExam1_1_8Doc diagnostics

#ifdef _DEBUG
void CExam1_1_8Doc::AssertValid() const
{
	CDocument::AssertValid();
}

void CExam1_1_8Doc::Dump(CDumpContext& dc) const
{
	CDocument::Dump(dc);
}
#endif //_DEBUG

/////////////////////////////////////////////////////////////////////////////
// CExam1_1_8Doc commands

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?