calculatordlg.h

来自「故障诊断工作涉及的领域相当广泛」· C头文件 代码 · 共 60 行

H
60
字号
#if !defined(AFX_CALCULATORDLG_H__050E5E69_B989_4B0B_B65B_8170BFE4716D__INCLUDED_)
#define AFX_CALCULATORDLG_H__050E5E69_B989_4B0B_B65B_8170BFE4716D__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// calculatordlg.h : header file
//

/////////////////////////////////////////////////////////////////////////////
// calculatordlg dialog
#include "calculator.h"
#include "mydata.h"
class calculatordlg : public CDialog
{
	CString command,statue;

int count;
	mydata *pdata;
	double op,op1,op2;
// Construction
public:  // standard constructor
	calculatordlg(CWnd* pParent = NULL,mydata* in_data=NULL,int in_count=0);
//计算器功能
public:
	void down_sort(mydata data[],unsigned int count);
	void up_sort(mydata data[],unsigned int count);
	double S_value(mydata data[],unsigned int count);	
	double balance(mydata data[],unsigned int count);

// Dialog Data
	//{{AFX_DATA(calculatordlg)
	enum { IDD = IDD_MYFORMVIEW };
		// NOTE: the ClassWizard will add data members here
	//}}AFX_DATA

	

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

// Implementation
protected:

	// Generated message map functions
	//{{AFX_MSG(calculatordlg)
		// NOTE: the ClassWizard will add member functions here
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

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

#endif // !defined(AFX_CALCULATORDLG_H__050E5E69_B989_4B0B_B65B_8170BFE4716D__INCLUDED_)

⌨️ 快捷键说明

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