Show Bid Request
Class - Conversion
Bid Request Id: 5062
|
|
|
Description:
Design a class called MilTime that is derived from Time Class (WILL EMAIL THE WINNING BIDDER). The MilTime claass should convert time in military (24-hour) format to the standard time format used by the Time class. The class should have the following member variablies: 1. MilHours - Contains the hour in 24 hour format. For example, 1:00 pm would be stored as 1300 hors and 4:30 pm would be stored as 1630 hours. 2. MilSeconds - contains the seconds in standard format. The class should have the followingmember functions: 1. Constructor - which should accept arguments for the hour and seconds, in military format. The time should then be converted to standard time and stored in the Hours, Min, and Sec variables of the Time class. 2. SetTime - Accepts arguments to be stored in the MilHour amd MilSeconds variables. The time should then be converted to standard time nad stored in the Hours, Min, ans sec variables of the Time class. 3. GetHour - Returns the hour in military format. 4. GetStandddHr - Returns the hour in standard format. Demonstrate the class in a program that asks the user to enter the time in military format. The program should ten display the time in BOTH MILITARY AND STANDARD FORMAT. INPUT VALIDATION: The MilTime class should not accept hours greater than 2359, or less than 0. It should not accept seconds greater than 59 or less than 0.
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. * Must compile and run * Must be coded in C++. * Must have comments.
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!
|
$5 (USD)
|
Nov 17, 2001 7:11:15 AM EDT
|
9.81
(Excellent)
|
|
|
I can do this very easily. |
|
|
|
|
|