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 to a great show), and the lowest is 0 (a lousy series).
Repeat this step a minimum of four times.
When the user enters the title xxx the data gathering process stops.
Make sure to close the file at the end of this step.
To confirm success, reopen the file and print the titles (only the titles!).

Program 2.
Step1. Create the TVShow class
Here, you will create a C++ class called TVShow, to process the data describing a selection of Netflix TV
mini-series and movies.
The class will include title, user score (a rating number between 0 and 100), and description. You will provide mutators, accessors, and constructors (zero-arguments and three-arguments).
Include a user-defined method (toString() ) that returns a string, containing the memory location of the object, its type name, and its attributes and values. For example,
0123ABF3 TVShow [Title: Emily in Paris, Score: 63, Description: Emily, an ambitious twenty-
something marketing executive from Chicago, unexpectedly lands her dream]
Observe that the shows description is truncated in the sample above, so only the first 80 characters are shown.
Step 2. Make the TVShow Objects Database.
Your app will read the disk data collected and recorded by the first program to construct the Netflix TV
Show database.
Each TVShow object will be added to the vector vnetflix, representing what we call the
database.
Observe that the vector stores the pointers to the objects constructed with the disk file data. When
populating the vector you must use the following syntax vnetflix.push_back( new TVShow(xxx,yyy,zzz) )
Where xxx, yyy, and zzz represent the title, score, and description, respectively. Observe that your TVShow objects are dynamically created at runtime. You do not know beforehand how many of them will be made! (that is determined by the number of records in the file.)
Step3. Print the database
Visit each element of the vector. Print its contents using your toString() member function

Step4. Change the scores
Visit each vector object and increase its score, adding 2 points.
Repeat Step 3, showing the new image of the database.
FINAL REPORT
Produce your report. It will include the source code and screenshots of each program and its
corresponding Input/output. Submit it using the CANVAS assignment submit button (do not email it).
SAMPLE DATA
You may enter shows of your own. For your convenience, a small sample is given below (source
https://www.rottentomatoes.com/)
The Queens Gambit
99
Its moves arent always perfect, but between Anya Taylor-Joys magnetic performance,
incredibly realized period details, and emotionally intelligent writing, The Queens
Gambit is an absolute win.
Cursed
67
Cursed is a re-imagination of the Arthurian legend, told through the eyes of Nimue, a
young woman with a mysterious gift who is destined to become the powerful (and
tragic) Lady of the Lake. After her mothers death, she finds an unexpected partner
Designated Survivor
71
A lower-level United States Cabinet member is suddenly appointed president after a
catastrophic attack kills everyone above him in the line of succession.
Lost in Space
75
A Netflix Original dramatic and modern reimagining of the classic 1960s science
fiction series. Set 30 years in the future, colonization in space is now a reality,
and the Robinson family is among those tested and selected to make a new life for
themselves in a better world.