📄 twomachinesfastworkview.h
字号:
// TwoMachinesFastWorkView.h : interface of the CTwoMachinesFastWorkView class
//
/////////////////////////////////////////////////////////////////////////////
#if !defined(AFX_TWOMACHINESFASTWORKVIEW_H__A2ED23B5_50B8_4709_BFA8_939319E128AD__INCLUDED_)
#define AFX_TWOMACHINESFASTWORKVIEW_H__A2ED23B5_50B8_4709_BFA8_939319E128AD__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
class ThreeDimensionArray
{
public:
ThreeDimensionArray(int d1,int d2,int d3);
~ThreeDimensionArray();
char * m_s;
int m_d1;
int m_d2;
int m_d3;
char * GetAddress(int x,int y,int z);
};
class CTwoMachinesFastWorkView : public CFormView
{
public:
int GetIntArray(int a[],char * s);
int FastWork(int a[],int b[],int c[],int n);
protected: // create from serialization only
CTwoMachinesFastWorkView();
DECLARE_DYNCREATE(CTwoMachinesFastWorkView)
public:
//{{AFX_DATA(CTwoMachinesFastWorkView)
enum{ IDD = IDD_TWOMACHINESFASTWORK_FORM };
// NOTE: the ClassWizard will add data members here
//}}AFX_DATA
// Attributes
public:
CTwoMachinesFastWorkDoc* GetDocument();
// Operations
public:
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CTwoMachinesFastWorkView)
public:
virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
virtual void OnInitialUpdate(); // called first time after construct
virtual BOOL OnPreparePrinting(CPrintInfo* pInfo);
virtual void OnBeginPrinting(CDC* pDC, CPrintInfo* pInfo);
virtual void OnEndPrinting(CDC* pDC, CPrintInfo* pInfo);
virtual void OnPrint(CDC* pDC, CPrintInfo* pInfo);
//}}AFX_VIRTUAL
// Implementation
public:
virtual ~CTwoMachinesFastWorkView();
#ifdef _DEBUG
virtual void AssertValid() const;
virtual void Dump(CDumpContext& dc) const;
#endif
protected:
// Generated message map functions
protected:
//{{AFX_MSG(CTwoMachinesFastWorkView)
afx_msg void OnButton1();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
#ifndef _DEBUG // debug version in TwoMachinesFastWorkView.cpp
inline CTwoMachinesFastWorkDoc* CTwoMachinesFastWorkView::GetDocument()
{ return (CTwoMachinesFastWorkDoc*)m_pDocument; }
#endif
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_TWOMACHINESFASTWORKVIEW_H__A2ED23B5_50B8_4709_BFA8_939319E128AD__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -