employee.cpp

来自「一个工资计算的例子」· C++ 代码 · 共 39 行

CPP
39
字号
// Employee.cpp: implementation of the Employee class.
//
//////////////////////////////////////////////////////////////////////

#include "stdafx.h"
#include "Myhomework.h"
#include "Employee.h"

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

//////////////////////////////////////////////////////////////////////
// Construction/Destruction
//////////////////////////////////////////////////////////////////////

Employee::Employee()
{

}

Employee::~Employee()
{
}

float Employee::pay()
{
	return salary;
}

void Employee::display()
{
}

void Employee::promote(int)
{
}

⌨️ 快捷键说明

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