mpiringview.cpp

来自「MPICH是MPI的重要研究,提供了一系列的接口函数,为并行计算的实现提供了编程」· C++ 代码 · 共 74 行

CPP
74
字号
// MPIRingView.cpp : implementation of the CMPIRingView class//#include "stdafx.h"#include "MPIRing.h"#include "MPIRingDoc.h"#include "MPIRingView.h"#ifdef _DEBUG#define new DEBUG_NEW#undef THIS_FILEstatic char THIS_FILE[] = __FILE__;#endif/////////////////////////////////////////////////////////////////////////////// CMPIRingViewIMPLEMENT_DYNCREATE(CMPIRingView, CView)BEGIN_MESSAGE_MAP(CMPIRingView, CView)	//{{AFX_MSG_MAP(CMPIRingView)	//}}AFX_MSG_MAPEND_MESSAGE_MAP()/////////////////////////////////////////////////////////////////////////////// CMPIRingView construction/destructionCMPIRingView::CMPIRingView(){}CMPIRingView::~CMPIRingView(){}BOOL CMPIRingView::PreCreateWindow(CREATESTRUCT& cs){	return CView::PreCreateWindow(cs);}/////////////////////////////////////////////////////////////////////////////// CMPIRingView drawingvoid CMPIRingView::OnDraw(CDC* pDC){	CMPIRingDoc* pDoc = GetDocument();	ASSERT_VALID(pDoc);}/////////////////////////////////////////////////////////////////////////////// CMPIRingView diagnostics#ifdef _DEBUGvoid CMPIRingView::AssertValid() const{	CView::AssertValid();}void CMPIRingView::Dump(CDumpContext& dc) const{	CView::Dump(dc);}CMPIRingDoc* CMPIRingView::GetDocument() // non-debug version is inline{	ASSERT(m_pDocument->IsKindOf(RUNTIME_CLASS(CMPIRingDoc)));	return (CMPIRingDoc*)m_pDocument;}#endif //_DEBUG/////////////////////////////////////////////////////////////////////////////// CMPIRingView message handlers

⌨️ 快捷键说明

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