⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 mainfrm.cpp

📁 MPICH是MPI的重要研究,提供了一系列的接口函数,为并行计算的实现提供了编程环境.
💻 CPP
字号:
// MainFrm.cpp : implementation of the CMainFrame class//#include "stdafx.h"#include "MPDRing.h"#include "MainFrm.h"#ifdef _DEBUG#define new DEBUG_NEW#undef THIS_FILEstatic char THIS_FILE[] = __FILE__;#endif/////////////////////////////////////////////////////////////////////////////// CMainFrameIMPLEMENT_DYNCREATE(CMainFrame, CFrameWnd)BEGIN_MESSAGE_MAP(CMainFrame, CFrameWnd)	//{{AFX_MSG_MAP(CMainFrame)	ON_WM_CREATE()	ON_COMMAND(ID_APP_CREATE_RING, OnCreateRing)	ON_COMMAND(ID_APP_DESTROY_RING, OnDestroyRing)	//}}AFX_MSG_MAPEND_MESSAGE_MAP()/////////////////////////////////////////////////////////////////////////////// CMainFrame construction/destructionCMainFrame::CMainFrame(){}CMainFrame::~CMainFrame(){}int CMainFrame::OnCreate(LPCREATESTRUCT lpCreateStruct){	if (CFrameWnd::OnCreate(lpCreateStruct) == -1)		return -1;	/*	if (!m_wndToolBar.CreateEx(this) ||		!m_wndToolBar.LoadToolBar(IDR_MAINFRAME))	{		TRACE0("Failed to create toolbar\n");		return -1;      // fail to create	}	if (!m_wndDlgBar.Create(this, IDR_MAINFRAME, 		CBRS_ALIGN_TOP, AFX_IDW_DIALOGBAR))	{		TRACE0("Failed to create dialogbar\n");		return -1;		// fail to create	}	if (!m_wndReBar.Create(this) ||		!m_wndReBar.AddBar(&m_wndToolBar) ||		!m_wndReBar.AddBar(&m_wndDlgBar))	{		TRACE0("Failed to create rebar\n");		return -1;      // fail to create	}	m_wndToolBar.SetBarStyle(m_wndToolBar.GetBarStyle() |		CBRS_TOOLTIPS | CBRS_FLYBY);	//*/	return 0;}BOOL CMainFrame::PreCreateWindow(CREATESTRUCT& cs){	if( !CFrameWnd::PreCreateWindow(cs) )		return FALSE;	return TRUE;}/////////////////////////////////////////////////////////////////////////////// CMainFrame diagnostics#ifdef _DEBUGvoid CMainFrame::AssertValid() const{	CFrameWnd::AssertValid();}void CMainFrame::Dump(CDumpContext& dc) const{	CFrameWnd::Dump(dc);}#endif //_DEBUG/////////////////////////////////////////////////////////////////////////////// CMainFrame message handlersvoid CMainFrame::OnCreateRing() {}void CMainFrame::OnDestroyRing() {}

⌨️ 快捷键说明

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