📄 setting.cpp
字号:
// Setting.cpp : implementation file
//
#include "stdafx.h"
#include "backpropagation.h"
#include "Setting.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// Setting dialog
Setting::Setting(CWnd* pParent /*=NULL*/)
: CDialog(Setting::IDD, pParent)
{
//{{AFX_DATA_INIT(Setting)
m_Study_Rate = 0.02;
m_Error_tolerance = 0.002;
m_finite_times = 30000000;
//}}AFX_DATA_INIT
}
void Setting::DoDataExchange(CDataExchange* pDX)
{
CDialog::DoDataExchange(pDX);
//{{AFX_DATA_MAP(Setting)
DDX_Text(pDX, IDC_STUDY_, m_Study_Rate);
DDX_Text(pDX, IDC_TOL, m_Error_tolerance);
DDX_Text(pDX, IDC_finite_times, m_finite_times);
//}}AFX_DATA_MAP
}
BEGIN_MESSAGE_MAP(Setting, CDialog)
//{{AFX_MSG_MAP(Setting)
// NOTE: the ClassWizard will add message map macros here
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
// Setting message handlers
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -