ownerdiaog.h

来自「MFC下用动态规划法实现strassen算法(有界面)!」· C头文件 代码 · 共 54 行

H
54
字号
#if !defined(AFX_OWNERDIAOG_H__C83F3DFF_BCD2_40A0_8199_C5A88976C5A4__INCLUDED_)
#define AFX_OWNERDIAOG_H__C83F3DFF_BCD2_40A0_8199_C5A88976C5A4__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// OwnerDiaog.h : header file
//
#define N 4

/////////////////////////////////////////////////////////////////////////////
// COwnerDiaog dialog

class COwnerDiaog : public CDialog
{
// Construction
public:
	void STRASSEN(int n,float A[][N],float B[][N],float C[][N]);
	void matrixSub(int n,float X[][N],float Y[][N],float Z[][N]);
	void matrixAdd(int n,float X[][N],float Y[][N],float Z[][N]);
	void matrixMultiply(float A[][N],float B[][N],float C[][N]);
	void output(int n,float C[][N]);
	void input(int n,float p[][N]);
	COwnerDiaog(CWnd* pParent = NULL);   // standard constructor

// Dialog Data
	//{{AFX_DATA(COwnerDiaog)
	enum { IDD = IDD_DIALOG1 };
	CStatic	m_TextShow;
	//}}AFX_DATA


// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(COwnerDiaog)
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:

	// Generated message map functions
	//{{AFX_MSG(COwnerDiaog)
	afx_msg void OnButton1();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_OWNERDIAOG_H__C83F3DFF_BCD2_40A0_8199_C5A88976C5A4__INCLUDED_)

⌨️ 快捷键说明

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