pas.cpp

来自「(1) 通过键盘输入某位学生某次作业的分数; (2) 给定学号」· C++ 代码 · 共 50 行

CPP
50
字号
// PAS.cpp : implementation file
//

#include "stdafx.h"
#include "DATABASE.h"
#include "PAS.h"

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

/////////////////////////////////////////////////////////////////////////////
// CPAS dialog


CPAS::CPAS(CWnd* pParent /*=NULL*/)
	: CDialog(CPAS::IDD, pParent)
{
	//{{AFX_DATA_INIT(CPAS)
	m_npass = _T("");
	m_nuser = _T("");
	m_opass = _T("");
	m_ouser = _T("");
	//}}AFX_DATA_INIT
}


void CPAS::DoDataExchange(CDataExchange* pDX)
{
	CDialog::DoDataExchange(pDX);
	//{{AFX_DATA_MAP(CPAS)
	DDX_Text(pDX, IDC_NEW_PASS, m_npass);
	DDX_Text(pDX, IDC_NEW_USER, m_nuser);
	DDX_Text(pDX, IDC_OLD, m_opass);
	DDX_Text(pDX, IDC_OLD_USER, m_ouser);
	//}}AFX_DATA_MAP
}


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

/////////////////////////////////////////////////////////////////////////////
// CPAS message handlers

⌨️ 快捷键说明

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