Show Bid Request
Simple Inheritance+polymorphism homework
Bid Request Id: 5455
|
|
|
Description:
I have about 60-70% of a 'payroll' program done that asks the user to enter a fictionary date (like 4-13-67 or what ever) and then checks to see if the month entered is the month of the birthday of 4 employees, instantiated in the class driver program [in the main() function] . The fictionary date is to be entered at runtime as is the birthdates of the 4 employees (the date is to be entered in the format mm-dd-yyyy. I have this format working for the fictionary date, but not for the employees birthdays). Each employee is of a different user-defined data type (boss, commission worker, piece worker, hourly worker), each defined in a class. These classes have already been written and work. The dates entered are handled by overloaded >> and <<, and these are part of a Date class, and this has also been written. There is also an abstract base class 'Employee' (already written)from which all the other classes are derived from, except the date class. The 'Employee' class is the only abstract class (using virtual functions, I think this is the only way to do polymorphism???), all the others are concrete classes. If the month entered by the user is the month of the birthday of one or more of 4 employees, then the employee(s) get a $100 bonus on their next paycheck. This must be done polymorphically. The data members birthDate (a Date object) and departmentCode (an int) both must be private data members in the class Employee. The private departmentCode data member part has already been written. I can get the program to work when birthDate is declared as public, but everything falls apart when I try it as private. Also, I can't get it to work so that I can enter the birthdates at runtime. Please look at the .zip file with what I have written.
Deliverables: Complete and fully-functional working program(s) in executable form as well as complete source code of all work done. Complete copyrights to all work purchased.
Special Conditions / Other:
Please make it extremely simple and easy for a beginner to understand. I am in a beginning C++ OOP class, and have an OK knowledge of pointers, overloading, inheritance, and classes. The main thing I am looking for is a well docemented, simple program that a reasonably OK beginner can understand and learn from.
Additional Files:
This bid request includes IMPORTANT additional attached files. Please download and read fully before bidding.
Remember that contacting the other party outside of the site (by email, phone, etc.) on all business projects < $500 (before the buyer's money is escrowed) is a violation of both the software buyer and seller agreements.
We monitor all site activity for such violations and can instantly expel transgressers on the spot, so we thank you in advance for your cooperation.
If you notice a violation please help out the site and report it. Thanks for your help.
|
|
Bidding/Comments:
|
All monetary amounts on the site are in United States dollars.
Rent a Coder is a closed auction, so coders can only see their own bids and comments. Buyers can view every posting made on their bid requests. |
See all rejected bids (and all comments)
Name |
Bid Amount |
Date |
Coder Rating |
|
|
This bid was accepted by the buyer!
|
$12 (USD)
|
Nov 26, 2001 4:26:49 AM EDT
|
9.81
(Excellent)
|
|
|
I am an experienced C++ programmer and can solve your problems very easily for you. |
|
|
|
|
|