fjdoc.cpp

来自「停车场仿真程序仿真原理:首先有两个定时器自动的随机产生请求入场的卡号和请求出场的」· C++ 代码 · 共 85 行

CPP
85 行
字号
// FJDoc.cpp : implementation of the CFJDoc class
//

#include "stdafx.h"
#include "FJ.h"

#include "FJDoc.h"

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

/////////////////////////////////////////////////////////////////////////////
// CFJDoc

IMPLEMENT_DYNCREATE(CFJDoc, CDocument)

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

/////////////////////////////////////////////////////////////////////////////
// CFJDoc construction/destruction

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

}

CFJDoc::~CFJDoc()
{
}

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

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

	return TRUE;
}



/////////////////////////////////////////////////////////////////////////////
// CFJDoc serialization

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

/////////////////////////////////////////////////////////////////////////////
// CFJDoc diagnostics

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

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

/////////////////////////////////////////////////////////////////////////////
// CFJDoc commands

⌨️ 快捷键说明

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