algorithm2doc.cpp

来自「汉诺塔算法演示程序」· C++ 代码 · 共 79 行

CPP
79
字号
// Algorithm2Doc.cpp :  CAlgorithm2Doc 类的实现
//

#include "stdafx.h"
#include "Algorithm2.h"

#include "Algorithm2Doc.h"

#ifdef _DEBUG
#define new DEBUG_NEW
#endif


// CAlgorithm2Doc

IMPLEMENT_DYNCREATE(CAlgorithm2Doc, CDocument)

BEGIN_MESSAGE_MAP(CAlgorithm2Doc, CDocument)
END_MESSAGE_MAP()


// CAlgorithm2Doc 构造/析构

CAlgorithm2Doc::CAlgorithm2Doc()
{
	// TODO: 在此添加一次性构造代码

}

CAlgorithm2Doc::~CAlgorithm2Doc()
{
}

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

	// TODO: 在此添加重新初始化代码
	// (SDI 文档将重用该文档)

	return TRUE;
}




// CAlgorithm2Doc 序列化

void CAlgorithm2Doc::Serialize(CArchive& ar)
{
	if (ar.IsStoring())
	{
		// TODO: 在此添加存储代码
	}
	else
	{
		// TODO: 在此添加加载代码
	}
}


// CAlgorithm2Doc 诊断

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

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


// CAlgorithm2Doc 命令

⌨️ 快捷键说明

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