output.cpp

来自「速算24点的C++源代码」· C++ 代码 · 共 55 行

CPP
55
字号
// OutPut.cpp : implementation file
//

#include "stdafx.h"
#include "24Points.h"
#include "OutPut.h"

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

/////////////////////////////////////////////////////////////////////////////
// OutPut dialog


OutPut::OutPut(CWnd* pParent /*=NULL*/)
	: CDialog(OutPut::IDD, pParent)
{
	//{{AFX_DATA_INIT(OutPut)
	m_num2 = 0.0f;
	m_num1 = 0.0f;
	m_num3 = 0.0f;
	m_num4 = 0.0f;
	//}}AFX_DATA_INIT
}


void OutPut::DoDataExchange(CDataExchange* pDX)
{
	CDialog::DoDataExchange(pDX);
	//{{AFX_DATA_MAP(OutPut)
	DDX_Text(pDX, IDC_EDIT2, m_num2);
	DDX_Text(pDX, IDC_EDIT1, m_num1);
	DDX_Text(pDX, IDC_EDIT3, m_num3);
	DDX_Text(pDX, IDC_EDIT4, m_num4);
	//}}AFX_DATA_MAP
}


BEGIN_MESSAGE_MAP(OutPut, CDialog)
	//{{AFX_MSG_MAP(OutPut)
	//}}AFX_MSG_MAP
END_MESSAGE_MAP()

/////////////////////////////////////////////////////////////////////////////
// OutPut message handlers

void OutPut::OnOK() 
{
	// TODO: Add extra validation here
	CDialog::OnOK();
}

⌨️ 快捷键说明

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