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

📄 problem.cpp

📁 一个用于JSP神经网络的演示软件
💻 CPP
字号:
// Problem.cpp : implementation file
//

#include "stdafx.h"
#include "JSPSolution.h"
#include "Problem.h"

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

/////////////////////////////////////////////////////////////////////////////
// CProblem dialog


CProblem::CProblem(CWnd* pParent /*=NULL*/)
	: CDialog(CProblem::IDD, pParent)
{
	//{{AFX_DATA_INIT(CProblem)
	m_fileAddr = _T("");
	//}}AFX_DATA_INIT
}


void CProblem::DoDataExchange(CDataExchange* pDX)
{
	CDialog::DoDataExchange(pDX);
	//{{AFX_DATA_MAP(CProblem)
	DDX_Text(pDX, IDC_FileAddr, m_fileAddr);
	//}}AFX_DATA_MAP
}


BEGIN_MESSAGE_MAP(CProblem, CDialog)
	//{{AFX_MSG_MAP(CProblem)
	ON_BN_CLICKED(IDC_Browse, OnBrowse)
	//}}AFX_MSG_MAP
END_MESSAGE_MAP()

/////////////////////////////////////////////////////////////////////////////
// CProblem message handlers

void CProblem::OnBrowse() 
{
	CFileDialog fi(true);
	int res = fi.DoModal();
	if (res == IDOK)
	{
		CString path = fi.GetPathName();
		m_fileAddr = path;
	}		
	UpdateData(false);
}

⌨️ 快捷键说明

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