Final Lab
You will write two programs to manage a TV-Shows database.
The first program collects the shows data from the user and stores it on a disk file (c:/temp/netflix.txt).
The second program reads the disk file data, generates the objects, adds them to a vector, changes their contents, and prints them.
Program 1
Step1: Data Collection
In this part, you will implement a function to prompt the user to type in data for at least four Netflix shows. The dialog should look like the following sample:
Enter show title:
Emily in Paris
Enter score (100 max):
64
Enter description:
Emily, an ambitious twenty-something marketing executive from Chicago, unexpectedly lands her dream job in Paris when her company acquires a French luxury marketing company -- and she is tasked with revamping their social media strategy.
After receiving the title, score, and description, you will write them to a disk file called c:/temp/netflix.txt.
The highest score is 100 (given t
The first program collects the shows data from the user and stores it on a disk file (c:/temp/netflix.txt).
The second program reads the disk file data, generates the objects, adds them to a vector, changes their contents, and prints them.
Program 1
Step1: Data Collection
In this part, you will implement a function to prompt the user to type in data for at least four Netflix shows. The dialog should look like the following sample:
Enter show title:
Emily in Paris
Enter score (100 max):
64
Enter description:
Emily, an ambitious twenty-something marketing executive from Chicago, unexpectedly lands her dream job in Paris when her company acquires a French luxury marketing company -- and she is tasked with revamping their social media strategy.
After receiving the title, score, and description, you will write them to a disk file called c:/temp/netflix.txt.
The highest score is 100 (given t