Hello,
I have some homework that is due tonight(03/31/10) at midnight PST, I know it's late to ask for help, but I'm hoping for a miracle. My grade is suffering and I really need to get this in. If it's late, thats ok, as long as it's not more than 12 hours or so. If you have any questions let me know and I'll send you a file that includes an exe of the running program so you can see how it should work and more specific directions as well, please just take a look at it and see if it can be done. I'm willing to pay a small express fee if necessary and I'll recommend you to all my computer science friends. Thanks in advance.
I've included an attachment that has specific directions included in a readme file. It is a zip folder with the .zip extension removed, so just add a .zip and extract it.
Do the following:
You are the owner of a hardware store and need to keep an inventory that can tell you
* the different tools that you have,
* how many of each tool you have on hand,
* and the cost of each one.
Write a program that does the following:
* initializes a random access file called [login to view URL] to 100 empty binary ‘records’,
* lets you input the data concerning each tool,
* enables you to list all of your tools,
* lets you delete a record for a tool that you no longer have,
* and lets you update any information in the file.
The tool identification number should be the record number.
Strategy:
* Create a class that represents a tool record.
* Create a class that represents a tools database.
* In [login to view URL] initialize your database to hold the following:
• Record #/Name/Quantity/Cost ($)
• 1/Electric Sander/7/57.98
• 2/Hammer/76/11.99
• 3/Jig saw/21/11.00
• 4/Lawnmower/3/79.50
• 56/Power saw/18/99.99
• 68/Screwdriver/106/6.99
• 77/Sledge hammer/11/21.50
• 83/Wrench/34/7.50
* Use a pointer to an fstream within the tools database to perform your I/O.
* Create a helper method in tools database that can skip to any record you want by index.
* You will use the helper method a lot.
Project will be completed and delivered by end of day 04/01/10.
The owner will test and provide a feedback to indicate satisfactory completion of the project.