employee.h

来自「VC面向对象的学习教程」· C头文件 代码 · 共 30 行

H
30
字号
// Employee.h: interface for the CEmployee class.
//
//////////////////////////////////////////////////////////////////////

#if !defined(AFX_EMPLOYEE_H__ABDD918A_B7C7_49F8_A943_E95F9A88F365__INCLUDED_)
#define AFX_EMPLOYEE_H__ABDD918A_B7C7_49F8_A943_E95F9A88F365__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

class CEmployee : public CObject  
{
public:
	CString			m_strName;		// 姓名
	int				m_nSex;			// 性别
	COleDateTime		m_tBirthdate;	// 出生日期
	BOOL				m_bMarried;		// 婚否
	CString			m_strDept;		// 工作部门
	CString			m_strPosition;	// 职务
	float			m_fSalary;		// 工资

	CEmployee();
	virtual ~CEmployee();
	CEmployee& operator=(CEmployee& e);

};

#endif // !defined(AFX_EMPLOYEE_H__ABDD918A_B7C7_49F8_A943_E95F9A88F365__INCLUDED_)

⌨️ 快捷键说明

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