📄 student.cpp
字号:
// Student.cpp : implementation file
//
#include "stdafx.h"
#include "ed.h"
#include "Student.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CStudent
CStudent::CStudent()
{
}
CStudent::~CStudent()
{
}
BEGIN_MESSAGE_MAP(CStudent, CWnd)
//{{AFX_MSG_MAP(CStudent)
// NOTE - the ClassWizard will add and remove mapping macros here.
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
// CStudent message handlers
CStudent::CStudent(CString num, CString name, float score)
{
m_num=num;
m_name=name;
m_score=score;
}
void CStudent::operator =(CStudent &stu)
{
m_num=stu.m_num;
m_name=stu.m_name;
m_score=stu.m_score;
}
void CStudent::print()
{
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -