seekdoc.cpp

来自「此程序为数值算法分析里的跳马算法演示程序」· C++ 代码 · 共 96 行

CPP
96
字号
// seekDoc.cpp : implementation of the CSeekDoc class
//

#include "stdafx.h"
#include "seek.h"

#include "seekDoc.h"


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

/////////////////////////////////////////////////////////////////////////////
// CSeekDoc

IMPLEMENT_DYNCREATE(CSeekDoc, CDocument)

BEGIN_MESSAGE_MAP(CSeekDoc, CDocument)
	//{{AFX_MSG_MAP(CSeekDoc)
	//}}AFX_MSG_MAP
END_MESSAGE_MAP()

/////////////////////////////////////////////////////////////////////////////
// CSeekDoc construction/destruction

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

}

CSeekDoc::~CSeekDoc()
{
}

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

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

	return TRUE;
}



/////////////////////////////////////////////////////////////////////////////
// CSeekDoc serialization

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

/////////////////////////////////////////////////////////////////////////////
// CSeekDoc diagnostics

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

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

/////////////////////////////////////////////////////////////////////////////
// CSeekDoc commands

//DEL void CSeekDoc::OnStartInput() 
//DEL {
//DEL Input i;
//DEL if(i.DoModal()==IDOK)
//DEL {
//DEL 	n=atoi(i.m_combo_n_val);
//DEL     x=atoi(i.m_combo_x_val);
//DEL 	y=atoi(i.m_combo_y_val);
//DEL     	
//DEL }//if
//DEL }

⌨️ 快捷键说明

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