Answered step by step
Verified Expert Solution
Question
1 Approved Answer
home / study / engineering / computer science / computer science questions and answers / in c++ there is a file of a few sean
home / study / engineering / computer science / computer science questions and answers / in c++ there is a file of a few sean connery movies on the internet. each entry has the following ...
Question: In C++ There is a file of a few Sean Connery movies on the internet. Each entry has the follow...
In C++ There is a file of a few Sean Connery movies on the internet. Each entry has the following form: Name of Movie Release Date Running Time (maybe) Several names of some of the stars A separator line (except after the last movie) Your assignment is: for each movie, 1. read in the Name, Release Date, the stars 2. Sort the movies by Movie Name alphabetically, 2. Sort the stars alphabetically, by last name 3. Print the Movie Name, Release Date, Running Time (if there) and Print the list of stars (alphabetically, by last name). Click here to see the Input File Some Sample Output: Darby O'Gill and the Little People 1959 RT 93 minutes Sean Connery Walter Fitzgerald Kieron Moore Janet Munro Jimmy O'Dea Albert Sharp Estelle Winwood
Input file:
Darby O'Gill and the Little People 1959 RT 93 minutes Albert Sharp Janet Munro Sean Connery Jimmy O'Dea Kieron Moore Estelle Winwood Walter Fitzgerald ================================================= Dr. No 1962 RT 109 minutes Sean Connery Ursula Andress Bernard Lee ================================================= From Russia with Love 1963 RT 115 minutes Sean Connery Daniela Bianchi Pedro Armendariz Lotte Lenya Robert Shaw Bernard Lee ================================================= Goldfinger 1964 RT 110 minutes Sean Connery Gert Frobe Honor Blackman ================================================= You Only Live Twice 1967 RT 117 minutes Sean Connery Akiko Wakabayashi Mie Hama ================================================= Diamonds Are Forever 1971 Sean Connery Jill St. John Charles Gray ================================================= The Untouchables 1987 Kevin Costner Sean Connery Robert De Niro ================================================= Indiana Jones and the Last Crusade 1989 Harrison Ford Sean Connery Alison Doody ================================================= The Hunt for Red October 1990 RT 135 minutes Sean Connery Alec Baldwin Scott Glenn Sam Neill James Earl Jones
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
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