Question
In C++ Internal Documentation only. For this project, you will write a program that keeps track of inventory for a camera store. The data is
In C++
Internal Documentation only.
For this project, you will write a program that keeps track of inventory for a camera store. The data is located in the file InventoryFile.txt on the S:\ drive. While the program is running, the information should be stored in a doubly linked list.
1. The information for each item will be stored in a struct
a. The definition will be in a separate file called item.h
2. The total inventory will be stored in a list
a. The definition of the list class will be in a file called dlist.h
3. The program should be able to perform the following functions
a. Print the inventory
b. Print the inventory in reverse order
c. Add an item to the inventory
d. Delete an item from inventory
e. Change any info for an item
4. The program will run until the user chooses an option to exit
5. The list is not in alphabetical order, so you will need to put it in order.
6. Whenever you change a name or if you add an item the list must stay in order.
7. When you are done, the list will be printed to a file called newlist.txt
8. You must have internal and external documentation:
This is what the file looks like,
Telephoto-Pocket-Camera 54.95 15 20 Mini-Pocket-Camera 24.95 15 12 Polaroid-1Step-Camera 49.95 10 20 Sonar-1Step-Camera 189.95 12 13 Pronto-Camera 74.95 5 15 8MM-Zoom-Movie-Camera 279.99 10 9 8MM-Sound/ZoomMovieCamera 310.55 10 15 35MM-Minolta-SLR-XG-7-Camera 389.00 12 10 35MM-Pentax-SLR-AE-1-Camera 349.95 12 11 35MM-Canon-SLR-ME-Camera 319.90 12 20 35MM-Hi-Matic-Camera 119.95 12 13 35MM-Compact-Camera 89.99 12 20 Zoom-Movie-Projector 129.95 5 7 Zoom-Sound-Projector 239.99 5 9 Auto-Carousel-Projector 219.99 5 10 Carousel-Slide-Projector 114.95 5 4 Pocket-Strobe 14.95 5 4 StrobeSX-10 48.55 10 12 Electonic-Flash-SX-10 28.99 15 10 Tele-Converter 32.99 15 13 28MM-Wide-Angle-Lens 97.99 15 14 135MM-Telephoto-Lens 87.95 15 13 35-105MM-Zoom-Lens 267.95 5 8 80-200MM-Zoom-Lens 257.95 5 7
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started