classifydoc.cpp

来自「利用遗传算法对图像进行分类处理」· C++ 代码 · 共 87 行

CPP
87
字号
// classifyDoc.cpp : implementation of the CClassifyDoc class
//

#include "stdafx.h"
#include "classify.h"

#include "classifyDoc.h"

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



/////////////////////////////////////////////////////////////////////////////
// CClassifyDoc

IMPLEMENT_DYNCREATE(CClassifyDoc, CDocument)

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

/////////////////////////////////////////////////////////////////////////////
// CClassifyDoc construction/destruction

CClassifyDoc::CClassifyDoc()	
//	:m_hDIB1(NULL),	m_hDIB2(NULL), m_hDIB3(NULL)
{
	// TODO: add one-time construction code here

}

CClassifyDoc::~CClassifyDoc()
{
}

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

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

	return TRUE;
}



/////////////////////////////////////////////////////////////////////////////
// CClassifyDoc serialization

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

/////////////////////////////////////////////////////////////////////////////
// CClassifyDoc diagnostics

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

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

/////////////////////////////////////////////////////////////////////////////
// CClassifyDoc commands

⌨️ 快捷键说明

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