Question subject: urgent help from any one exp in c++ i need codes
Posted: Fri Jun 12, 2009 10:19 am
Joined: Fri Jun 12, 2009 9:23 am Posts: 2 Has thanked: 0 time Have thanks: 0 time
i have assigment in c++ it difficult for me to resolve a software company owner want to build a system to schedule employee by cheching their availability; the time that they come and the time that they leave then compute working hours. also he wants to be able to add new employee or remove another from existing list of employees.
function required 1- class employee data member should chosen by student himself like name ,id job or any other information
declare more than one object inside main program for each class type
2-class 2: define a class call admin inherited from Employee class
data member should chosen by student himself (take into your consideration the constructor and deconstructor function)
define a member function called ADD to insert new admin information define a member function called REMOVE to delete special admin
compute Programmers working hours
declare objects from class type (you should declare more object).
class 3: define a class call Programmer inherited from Employee class
data member should chosen by student himself (take into your consideration the constructor and deconstructor function)
define a member function called ADD to insert new programmer information define a member function called REMOVE to delete special programmer
declare objects from class type (you should declare more object).
remark all informatin save in array after close program it will be lost not in file.
when user use program there are 3 chioce will show
1-admin
if choose admin will show some option -insert new admin -remove admin -insert employee -delete employee -caculate working hours of employee -return main menu
2- if choose programmer will show some option -add new programmer -remove programmer -check in (time that they come) -check out(time that they leave
return main menu
3-exit _____________________________ *all informatiom enter by user. *program include switch statement to move between option. *all class declaration put in header file.
i need code before end of 20/6/2009 sorry for disturb with thanks
smiley
Question subject: Re: urgent help from any one exp in c++ i need codes
Posted: Sun Jun 14, 2009 2:21 am
Joined: Wed Apr 18, 2007 7:26 am Posts: 2 Has thanked: 0 time Have thanks: 0 time
which part exactly that you can't do ?
computer_science
Question subject: Re: urgent help from any one exp in c++ i need codes
Posted: Mon Jun 15, 2009 7:08 pm
Joined: Fri Jun 12, 2009 9:23 am Posts: 2 Has thanked: 0 time Have thanks: 0 time
Code:
class employee { private: struct EmployeeRecord { string EmpName; string EmpDOB; string EmpJob; int EmpID; double EmpSalary;
this is empoyee class but i do not if is correct or not but how i can do inheritence from it as i explain last time for admin and for programmer, admin make -insert new admin -remove admin -insert employee -delete employee -caculate working hours of employee and programmer make add new programmer -remove programmer -check in (time that they come employee) -check out(time that they leave employee)
and how create object in main program
thanks so much for reply i have just approximetly 12 days to submit project to teacher and i study parttime and i study basic things only thanks again.
biskot188
Question subject: Re: urgent help from any one exp in c++ i need codes
Posted: Wed Jul 22, 2009 5:23 pm
Joined: Fri Nov 21, 2008 6:18 pm Posts: 51 Location: thessaloniki Has thanked: 0 time Have thanks: 2 time
did he told you to do this in c++? or you can use any kind of language..??
i would suggest you another way of doing this project create a menu with the things you need to put such as delete employer etc cause to create buttons is not an easy thing.. after it make 2 tables one for employes and another for the programmer ..and go it separate ways in the end combine the 2 parts to work properly ..) it s an easy way ...always first make an analisys before you start to write down code ..cause you might find many easy ways to do it..
_________________ if you want make an effort yourself no one will make it for you... best regards