neurodoc.cpp

来自「神经网络中的神经元代码」· C++ 代码 · 共 90 行

CPP
90
字号
// neuroDoc.cpp : implementation of the CNeuroDoc class
//

#include "stdafx.h"
#include "neuro.h"

#include "neuroDoc.h"

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

/////////////////////////////////////////////////////////////////////////////
// CNeuroDoc

IMPLEMENT_DYNCREATE(CNeuroDoc, CDocument)

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

/////////////////////////////////////////////////////////////////////////////
// CNeuroDoc construction/destruction

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

}

CNeuroDoc::~CNeuroDoc()
{
}

BOOL CNeuroDoc::OnNewDocument()
{
	/*if (!CDocument::OnNewDocument())
		return FALSE;

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

	return TRUE;*/
	
    if(!CDocument::OnNewDocument( ))
return FALSE;
        SetTitle("模糊神经元控制系统仿真软件");
return TRUE;
}



/////////////////////////////////////////////////////////////////////////////
// CNeuroDoc serialization

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

/////////////////////////////////////////////////////////////////////////////
// CNeuroDoc diagnostics

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

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

/////////////////////////////////////////////////////////////////////////////
// CNeuroDoc commands

⌨️ 快捷键说明

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