newton.cpp

来自「牛顿迭代法的C++类」· C++ 代码 · 共 51 行

CPP
51
字号
// Newton.cpp : implementation file
//

#include "stdafx.h"
#include "dbfetch.h"
#include "Newton.h"

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

/////////////////////////////////////////////////////////////////////////////
// CNewton dialog


CNewton::CNewton(CWnd* pParent /*=NULL*/)
	: CDialog(CNewton::IDD, pParent)
{
	//{{AFX_DATA_INIT(CNewton)
	//}}AFX_DATA_INIT
}


void CNewton::DoDataExchange(CDataExchange* pDX)
{
	CDialog::DoDataExchange(pDX);
	//{{AFX_DATA_MAP(CNewton)
	//}}AFX_DATA_MAP
}


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

/////////////////////////////////////////////////////////////////////////////
// CNewton message handlers

BOOL CNewton::OnInitDialog() 
{
	CDialog::OnInitDialog();
//	m_grid.SetDataMember("tt");
	// TODO: Add extra initialization here
	
	return TRUE;  // return TRUE unless you set the focus to a control
	              // EXCEPTION: OCX Property Pages should return FALSE
}

⌨️ 快捷键说明

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