mpi并行计算的c++代码 可用vc或gcc编译通过 可以用来搭建并行计算试验环境
源代码在线查看: offsetdlg.h
/* -*- Mode: C++; c-basic-offset:4 ; -*- */ /* $Id: OffsetDlg.h,v 1.3 2002/11/11 13:49:55 gropp Exp $ * * (C) 2001 by Argonne National Laboratory. * See COPYRIGHT in top-level directory. */ /* style:c++ header */ #if !defined(AFX_OFFSETDLG_H__D68F6BC3_370E_4A1E_8E0B_A718100A1984__INCLUDED_) #define AFX_OFFSETDLG_H__D68F6BC3_370E_4A1E_8E0B_A718100A1984__INCLUDED_ #if _MSC_VER > 1000 #pragma once #endif // _MSC_VER > 1000 // OffsetDlg.h : header file // ///////////////////////////////////////////////////////////////////////////// // COffsetDlg dialog class COffsetDlg : public CDialog { // Construction public: COffsetDlg(CWnd* pParent = NULL); // standard constructor bool m_bUseGUI; // Dialog Data //{{AFX_DATA(COffsetDlg) enum { IDD = IDD_OFFSET_DLG }; double m_offset; int m_row; //}}AFX_DATA // Overrides // ClassWizard generated virtual function overrides //{{AFX_VIRTUAL(COffsetDlg) protected: virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support //}}AFX_VIRTUAL // Implementation protected: // Generated message map functions //{{AFX_MSG(COffsetDlg) afx_msg void OnGuiBtn(); //}}AFX_MSG DECLARE_MESSAGE_MAP() }; //{{AFX_INSERT_LOCATION}} // Microsoft Visual C++ will insert additional declarations immediately before the previous line. #endif // !defined(AFX_OFFSETDLG_H__D68F6BC3_370E_4A1E_8E0B_A718100A1984__INCLUDED_)