Language (or Software): C++
Create simple store inventory tracking system will use a global linked list in memory to manage the inventory for the items on-hand within a store. Your program must use of the “list” API in the C++sta ndard template library (STL). Your program must keep track of a list of inventory items in a global linked list data structure and must implement at least one class, which will hold the following class variable:
An integer variable to hold the Stock Keep Unit (SKU) number for the item. This must be a randomly generated number that consists of exactly six digits. Duplicate entries are not allowed.
A string variable to hold the name of the item.
An integer variable to hold the number of items in stock.
A double variable to hold the price of an individual item.
A string variable to hold the date that the item was last ordered. The entered date must be in the form mm/dd/yyyy. If the user enters an invalid date format, print an error and re-prompt the user to enter the date in correct format.
Provide the appropriate accessor methods to set and get the data for these class variables. For example getDateLastOrder() and setDateLastOrder(string dateLastOrdered). The main program must provide the following functionality:
1. When the program is first started, it must read a data file called inventory.dat. If the file exists, the program will load the data for each item record into the global inventory linked list data structure.
2. When the program exits, it must save all of the entries within the global linked list into the inventory.dat data file. At this point, if the file does not exist, the program will create it.
3. Provide a simple text-based user interface to allow the user to operate on the inventory linked list. Note that each item record must be placed in a global linked list that holds all of the information for each item in inventory. The program interface will allow the user to do the following:
(a) Enter an item – allows the user to enter all fields except the SKU number field, which
will be automatically generated random six-digit number. After the data fields are entered, the program will place the record in the global linked list.
(b) Search for an item – allows the user to search for an item based on a user provided
SKU number. Display a message if the item is not found in the inventory linked list.
(c) Modify an item – allows the user to modify any of the fields for an item (except for
the SKU number) in the linked list for given record as indicated by the SKU number.
Display a message if the item is not found in the inventory linked list.
(d) Delete an item – allows the user to delete an item from the inventory linked list using
the SKU number as the key. Display a message if the item is not found in the
inventory linked list.
(e) Display inventory – displays all of the items in the linked list. After displaying all of
the items, the program will provide a total cost of the inventory based on the quantity
and price for each item.
(f) Exit program – Saves all of the items in the inventory and then exists the program
Try it now!
How it works?
Follow these simple steps to get your paper done
Place your order
Fill in the order form and provide all details of your assignment.
Proceed with the payment
Choose the payment system that suits you most.
Receive the final file
Once your paper is ready, we will email it to you.
Our Services
Custom Writings Help is a Quality-Oriented Company in Online Writing as a result of hiring exceptional professionals to execute clients' tasks.
Essays
At Custom Writings Help,We understand the struggle of research paper writing, and that is why at Custom WritingS Help, we are all out to help you. We pride ourselves on having a team of clinical writers. The stringent and rigorous vetting process ensures that only the 'BEST' Writers are chosen for the job. We have highly qualified Ph.D. and MA writers working with us; we equally offer these experienced writers specific bonuses and incentives to make them deliver highly original, unique, and informative content at reasonably low prices.
Admissions
Thesis Writing Service
Worlwide, Many Masters Students are struggling with Thesis Completion. A thesis is likely to be the longest and most challenging piece of work a student has ever completed. However, unlike essays and other assignments, a student can pick a particular interest topic and work on their initiative. Fortunately, we are there for you. At Custom Writings Help, you are assured of an authentic, imaginative, informative, linguistically great, and advantageous thesis that adheres to all your needs. So, why continue considering different writers when you have discovered the best in the field?
Editing
Custom Papers
Not a single student can avoid writing custom papers. However, a total lack of experience, skills, and time makes it very hard to produce a superb writing piece. Therefore, if you are seeking professional help, turn to us. Our specialized and experienced writers compose a variety of model papers, including custom essays, college term papers, research papers, book reports, MBA essays, executive summaries, dissertations, Ph.D. theses, admission essays, and research proposals for college and university students at any level.
Coursework
Essay Writing
Most of the students disregard the critical principles of essay writing and compose papers below sensible guidelines. Therefore, with Custom Writings Help, one should not worry about his/her essay. Our Writers compose informative and engaging content on all complexities and topics. We write meaningful and smart essays while prioritizing all aspects that bring about a good grade, such as impeccable grammar, proper structure, zero-plagiarism, and conformance to guidelines.
Coursework
Coourse Work Writing
Don't let the seemingly never-ending onslaught of writing assignments get you down. If you are looking where to get course work assistance online, the writers at Custom Writings Help are here to assist you with all of your writing needs. We undertake to unique delivery of papers that meet the professor's requirements. The content is proofread, edited, and checked plagiarism before submission to customers. No matter how big or small your work is, we will deliver on time. Try US Now! !
Coursework
Dissertation Writing Service
High-Quality Dissertation Writing Services are rare. They require Ph.D. academicians – not easily found. However, are an exception. The years, time, and resources we have invested in the dissertation world has given us a competitive advantage over others. Choose to come to Custom Writings Help; You will find perfect Ph.D. consultants who have written hundreds of dissertations theses ready to help you. Let our dissertation-writing services help you craft your dissertation, for you are assured we will give you the results.