Question: I need a program that will read a movie.txt file and other text files with movies. The program is in C++14. Thank you. The lab

 I need a program that will read a movie.txt file andother text files with movies. The program is in C++14. Thank you.The lab exercise is a simple one: input movie names from a

I need a program that will read a movie.txt file and other text files with movies. The program is in C++14. Thank you.

The lab exercise is a simple one: input movie names from a file, and output the total # of movies movie, and the last movie. The input file contains the movie names, one per line there is nothing the end. Example: suppose the file movies.txt" contains The Shawshank Redemption (1994) The Godfather (1972) The Godfather: Part Il (1974) Pulp Fiction (1994) The Good the Bad and the Ugly (1966) The Dark Knight (2008) 12 Angry Men (1957) Schindler's List (1993) The Lord of the Rings: The Return of the King (2003) Fight Club (1999) Your program should input the name of the file from the keyboard: movies.txt The output from your program should be the # of movies, first movie name, and last movie name: 10 The Shawshank Redemption (1994) Fight Club (1999)

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!