高校人事管理系统C++代码.docVIP

  • 27
  • 0
  • 约6.43千字
  • 约 9页
  • 2016-04-08 发布于安徽
  • 举报
高校人事管理系统C++代码.doc

#includeiostream #includestring #includefstreampowered by 25175.net #includeiomanip using namespace std; class employee { protected: int number; char name[20]; char sex[6]; char workplace[20]; char place[20]; char nation[6]; char birth[20]; char party[10]; char id[20]; float score[5]; public: Employee *nest; Employee(){} ~Employee(){} char* getname(){ return name; } int getnumber(){ return number; } double getscore(int i){ return score[i];} float get(){ return(score[0]+ score[1]+ score[2]+ score[3]+ score[4]);} void input() { int e=1; cout“\t\t\t按提示输入?:”endl?; cout“\t\t输入工号?:”; cinworkplac

文档评论(0)

1亿VIP精品文档

相关文档