calculatordlg.cpp

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

CPP
66
字号
// calculatordlg.cpp : implementation file
//

#include "stdafx.h"
#include "richtest.h"
#include "calculatordlg.h"

#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif

/////////////////////////////////////////////////////////////////////////////
// calculatordlg dialog



calculatordlg::calculatordlg(CWnd* pParent /*=NULL*/,mydata* in_data,int in_count)
	: CDialog(calculatordlg::IDD, pParent)
{ 
	//{{AFX_DATA_INIT(calculatordlg)
		// NOTE: the ClassWizard will add member initialization here
	//}}AFX_DATA_INIT
	count=in_count;
	pdata=in_data;
}

void calculatordlg::DoDataExchange(CDataExchange* pDX)
{
	CDialog::DoDataExchange(pDX);
	//{{AFX_DATA_MAP(calculatordlg)
		// NOTE: the ClassWizard will add DDX and DDV calls here
	//}}AFX_DATA_MAP
}


BEGIN_MESSAGE_MAP(calculatordlg, CDialog)
	//{{AFX_MSG_MAP(calculatordlg)
		// NOTE: the ClassWizard will add message map macros here
	//}}AFX_MSG_MAP
END_MESSAGE_MAP()

/////////////////////////////////////////////////////////////////////////////
// calculatordlg message handlers

double calculatordlg::balance(mydata data[], unsigned int count)
{
return 0;
}

double calculatordlg::S_value(mydata data[], unsigned int count)
{
return 0;
}

void calculatordlg::up_sort(mydata data[], unsigned int count)
{

}

void calculatordlg::down_sort(mydata data[], unsigned int count)
{

}

⌨️ 快捷键说明

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