⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 classdlg.cpp

📁 简单的模式识别的分类算法(K_均值算法)
💻 CPP
字号:
// classDlg.cpp : implementation file
//

#include "stdafx.h"
#include "K_average.h"
#include "classDlg.h"

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

/////////////////////////////////////////////////////////////////////////////
// CclassDlg dialog


CclassDlg::CclassDlg(CWnd* pParent /*=NULL*/)
	: CDialog(CclassDlg::IDD, pParent)
{
	//{{AFX_DATA_INIT(CclassDlg)
	m_numclass = 0;
	m_center = 0;
	//}}AFX_DATA_INIT
}


void CclassDlg::DoDataExchange(CDataExchange* pDX)
{
	CDialog::DoDataExchange(pDX);
	//{{AFX_DATA_MAP(CclassDlg)
	DDX_Text(pDX, IDC_EDIT_NUMCLASS, m_numclass);
	DDV_MinMaxInt(pDX, m_numclass, 1, 16);
	DDX_Text(pDX, IDC_EDIT_FIRSTCENTER, m_center);
	//}}AFX_DATA_MAP
}


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

/////////////////////////////////////////////////////////////////////////////
// CclassDlg message handlers

⌨️ 快捷键说明

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