可按Ctrl+D收藏 蚂蚁资源网

蚂蚁资源网

人事管理系统设计(人事管理系统设计目标)

  • 全部评论(3)
  • 外网
  • #include <iostream> #include <string> using namespace std; class Date //日期类 { private: int year; int month; int day; public: Date(){} //默认构造 Date(int y,int m,int d) //带参构造 { year=y; month=m; day=d; } void set() //设置数据函数 { cin>>year>>month>>day; } void display() //显示函数 { cout<<year<<'/'<<month<<'/'<<day; } }; class Person //人员类 { private: int num; char sex; Date birthday; char ID[19]; public: Person(){} //默认构造 Person(int n,int y,int m,int d,char id[19],char s='m'):birthday(y,m,d) { num=n; sex=s; strcpy(ID,id); } //有默认值的带参构造 Person(Person& p) //拷贝构造 { num=p.num; sex=p.sex; birthday=p.birthday; strcpy(ID,p.ID); } void input() //输入函数 { cout<<"录入数据:"<<endl; cout<<"编号:"; cin>>num; cout<<"性别(m/f):"; cin>>sex; cout<<"生日:"; birthday.set(); cout<<"身份证号:"; cin>>ID; ID[18]='\0'; cout<<endl; } void output() //输出函数 { cout<<"编号:"<<num<<endl; cout<<"性别:"<<sex<<endl; cout<<"生日:"; birthday.display(); cout<<endl; cout<<"身份证号:"<<ID<&l签名系统t;endl; } ~Person() //析构函数 { cout<<num<<"号人员信息已删除。"<<endl; } }; int main() { Person p1; p1.input(); p1.output(); return 0; }
  • 2021-12-18 15:51:04
  • 免注册用户
  • 2021-12-18 15:50:00
  • 456
  • 翻译高手 求救!!!,theAlong with the rapid development of computer technology, computer application in enterprise management, by using computer to realize enterprise personnel management is imperative. This system combining the actual company personnel management system, after the actual demand analysis, using powerful Visual Basic6.0 as development tools and stand-alone version of personnel management system.From the entire system to operate and friendly interface, flexible, practical, safe requirements, the completion of the entire personnel management process, including employees when joining the personnel file, old employees, turn the change and cause worker information staff information query, statistics personnel management and the new member of the new and old staff management work changes. Through practical use, the design of the personnel management system can meet the needs of personnel management companies.Keywords: information management, personnel management, human resources management system
  • 2021-12-18 15:50:00
  • 商品推荐