One of the things we rely on computers to do for us is to store information. We keep files, movies and music (all legally obtained
One of the things we rely on computers to do for us is to store information. We keep files, movies and music (all legally obtained of course...), and a host of data to help us keep organized.
This week your challenge (the last one!) is to make a program in C++ that keeps a collection of lists. You'll manage a grocery, hardware store, and chore list all in the same program. You'll use files to store those lists so that they're somewhat permanent, and vectors to read those lists in to display for the user.
Your list manager will minimally hit the following benchmarks:
Menus! Control the interface
Select a list to edit
Quit the program
Allow users to add or remove items
Functions!
Entering items to add to a list
Deleting items from a list
Menus
File Operations!
Read and use files
grocery
hardware store
chores
Loops!
Add as many items as necessary
Delete as many items as necessary
Move between lists as often as my little heart desires
Vectors!
Read items from files into vectors
Add items to lists - who's length is unknown
Delete selected items from lists
Display lists in a way that makes sense to a user
Good User Design
Make sure I know what's going on as the user. That means good user prompting, control of the outputs to the screen, clearing where necessary, and keeping the user engaged as they edit those lists
Step by Step Solution
There are 3 Steps involved in it
Step: 1
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