⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 nqueuedoc.cpp

📁 用分支界限法实现的n后问题 vc++ 语言效率很好
💻 CPP
字号:
// nqueueDoc.cpp : implementation of the CNqueueDoc class
//

#include "stdafx.h"
#include "nqueue.h"

#include "nqueueDoc.h"

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

/////////////////////////////////////////////////////////////////////////////
// CNqueueDoc

IMPLEMENT_DYNCREATE(CNqueueDoc, CDocument)

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

/////////////////////////////////////////////////////////////////////////////
// CNqueueDoc construction/destruction

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

}

CNqueueDoc::~CNqueueDoc()
{
}

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

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

	return TRUE;
}



/////////////////////////////////////////////////////////////////////////////
// CNqueueDoc serialization

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

/////////////////////////////////////////////////////////////////////////////
// CNqueueDoc diagnostics

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

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

/////////////////////////////////////////////////////////////////////////////
// CNqueueDoc commands

⌨️ 快捷键说明

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