📄 employee.cpp
字号:
// Employee.cpp: implementation of the CEmployee class.
//
//////////////////////////////////////////////////////////////////////
#include "stdafx.h"
#include "My.h"
#include "Employee.h"
#ifdef _DEBUG
#undef THIS_FILE
static char THIS_FILE[]=__FILE__;
#define new DEBUG_NEW
#endif
//////////////////////////////////////////////////////////////////////
// Construction/Destruction
//////////////////////////////////////////////////////////////////////
CEmployee::CEmployee()
{
}
CEmployee::~CEmployee()
{
}
CEmployee& CEmployee:: operator=(CEmployee& e)
{
m_strName = e.m_strName;
m_nSex = e.m_nSex;
m_tBirthdate = e.m_tBirthdate;
m_bMarried = e.m_bMarried;
m_strDept = e.m_strDept;
m_strPosition = e.m_strPosition;
m_fSalary = e.m_fSalary;
return *this;
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -