Show Bid Request
class implementation
Bid Request Id: 14207
|
|
|
Posted by: |
seven720 (1 ratings)
(Software buyer rating 10)
|
Posted: |
Apr 21, 2002 5:34:04 PM EDT
|
Bidding Closes: |
Apr 22, 2002 8:08:55 PM EDT
|
Viewed (by coders): |
110 times
|
Deadline: |
4/23/2002
TIME EXPIRED
|
|
|
|
Description:
Candy Machine Class Specifications ==================================
a) The c.m. class stocks and sells four items: chips, jawbreakers, cookies, chewing gum. c.m. class must store info about each of these. This includes the quantity on hand and the price of each type of item. In addition, a password is stored in order for the owner to gain special access to the machine.
b) c.m. class keeps track of the money collected.
c) When a c.m object is initialized for the first time, the quantities for each item are to be set at 50, there is no money in the machine, there are no sales that have been made, and the password is set to “password”. After the first run of a c.m. object, the data for the quantity of each item, the amount of money on hand and the current password will be read from a file called “pa8.dat”.
d) 20 units is the max storage available for the candy machine for an item.
e) When a c.m. object passes from scope or the program ends, the data stored in the object is written to a file called “pa8.dat”.
f) Each item costs .50
g) the c.m. class must also have member functions to output a menu of available items, the cost of the items, record the transactions, accept the users money and give change. The menu function can't receive any input nor call any other functions. The function that accepts user choices can't perform any processing but may call other member functions to do so.
h) There must be an unlisted choice on the menu that the owner of the c.m. object can access that will return the amount of money in the system if the user inputs a specified password. There must also be a means of setting this password separate from constructors. All constructors should set the password to “password” initially. The user should only be able to change the password if the password is known.
i) There must be an unlisted choice on the menu that allows the owner of the c.m. object to restock the machine. When a machine is restocked, items are set to the maximum allowed and all money is removed from the machine. The password must be entered in order to be able to open the machine and restock it.
j) must be an unlisted choice on the menu that allows the owner to shut machine down. the member function that receives the user's choice must return a value indicating that it is time to shut down. the password must be entered to turn it off.
k) c.m object can't sell items that are out of stock
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.
Write a program that will operate an object of the candy machine class. The program is to run the machin util the owner elects to shut the machine down. There is no input/output in the program. All input/output is to be performed by calls to member functions the object of class Cany Macine.
Platform:
the program needs to run on the unix system and be written in C++.
Must be 100% finished and received by buyer on:
Apr 23, 2002 EDT
Deadline legal notes: All times are expressed in the time zone of the site EDT (UT - 5). If the buyer omitted a time, then the deadline is 11:59:59 PM EDT on the indicated date.
Special Conditions / Other:
Must be completed by 4-22-02. Must be done by six o'clock pm
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, you can report it to: abuse@rentacoder.com.
|
|
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!
|
$30 (USD)
|
Apr 21, 2002 6:26:50 PM EDT
|
10
(Excellent)
|
|
|
I can complete your project and have it well documented for you. If you want a good grade, give me a try. |
|
|
|
|
|