You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
|
#include "boss.h"
|
|
|
|
|
Boss::Boss(int id, string name, int dId) {
|
|
|
|
|
this->m_Id = id;
|
|
|
|
|
this->m_Name = name;
|
|
|
|
|
this->m_DeptId = dId;
|
|
|
|
|
}
|
|
|
|
|
void Boss::showInfo() // <20><>ӡְ<D3A1><D6B0><EFBFBD><EFBFBD>Ϣ
|
|
|
|
|
{
|
|
|
|
|
cout << "ְ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ţ<EFBFBD>" << this->m_Id << "\tְ<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>" << this->m_Name
|
|
|
|
|
<< "\t<EFBFBD><EFBFBD>λ<EFBFBD><EFBFBD>" << this->getDeptName() << "\t<EFBFBD><EFBFBD>λְ<EFBFBD>𣺹<EFBFBD><EFBFBD><EFBFBD><EFBFBD>ù<EFBFBD>˾" << endl;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
string Boss::getDeptName() { return string("<EFBFBD>ϰ<EFBFBD>"); }
|