mpdringdoc.cpp
来自「MPICH是MPI的重要研究,提供了一系列的接口函数,为并行计算的实现提供了编程」· C++ 代码 · 共 78 行
CPP
78 行
// MPDRingDoc.cpp : implementation of the CMPDRingDoc class//#include "stdafx.h"#include "MPDRing.h"#include "MPDRingDoc.h"#ifdef _DEBUG#define new DEBUG_NEW#undef THIS_FILEstatic char THIS_FILE[] = __FILE__;#endif/////////////////////////////////////////////////////////////////////////////// CMPDRingDocIMPLEMENT_DYNCREATE(CMPDRingDoc, CDocument)BEGIN_MESSAGE_MAP(CMPDRingDoc, CDocument) //{{AFX_MSG_MAP(CMPDRingDoc) //}}AFX_MSG_MAPEND_MESSAGE_MAP()/////////////////////////////////////////////////////////////////////////////// CMPDRingDoc construction/destructionCMPDRingDoc::CMPDRingDoc(){}CMPDRingDoc::~CMPDRingDoc(){}BOOL CMPDRingDoc::OnNewDocument(){ if (!CDocument::OnNewDocument()) return FALSE; SetTitle("Disconnected"); return TRUE;}/////////////////////////////////////////////////////////////////////////////// CMPDRingDoc serializationvoid CMPDRingDoc::Serialize(CArchive& ar){ if (ar.IsStoring()) { } else { }}/////////////////////////////////////////////////////////////////////////////// CMPDRingDoc diagnostics#ifdef _DEBUGvoid CMPDRingDoc::AssertValid() const{ CDocument::AssertValid();}void CMPDRingDoc::Dump(CDumpContext& dc) const{ CDocument::Dump(dc);}#endif //_DEBUG/////////////////////////////////////////////////////////////////////////////// CMPDRingDoc commands
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?