⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 coach.cpp

📁 曼彻斯特联队球队系统 本程序是一个以数据处理为基础的类数据库的查找软件。用户可以按程序界面上的提示查看曼彻斯特联队球员和教练的各项数值
💻 CPP
字号:
#include<iostream.h>
#include<iomanip.h>
#include"employee.h"
#include"coach.h"

coach::coach(const int a,const double e,const char* n,int c_g,int c_o,int m_m,
			 int t_k,int p,int d):employee(a,e,n)
	{
		coaching_goalkeeper=c_g;
		coaching_outfield=c_o;
		man_managerment=m_m;
		tactical_knowledge=t_k;
		physiotherapy=p;
		determination=d;
	}

const int coach::getcoaching_goalkeeper()const
{return coaching_goalkeeper;}

const int coach::getcoaching_outfield()const
{return coaching_outfield;}

const int coach::getman_managerment()const
{return man_managerment;}

const int coach::gettactical_knowledge()const
{return tactical_knowledge;}

const int coach::getphysiotherapy()const
{return physiotherapy;}

const int coach::getdetermination()const
{return determination;}

void coach::print()const
{
	employee::print();
	cout<<endl;
	cout<<"\t训练守门员:"<<coaching_goalkeeper
		<<"\t训练非守门员的球员:"<<coaching_outfield<<endl;
	cout<<"\t人员管理:"<<man_managerment
		<<"\t战术知识:"<<tactical_knowledge<<endl;
	cout<<"\t医疗能力:"<<physiotherapy
		<<"\t决心:"<<determination<<endl;

}

⌨️ 快捷键说明

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