Question: Using C++ Create a program that will create classes to represent a movie, and a person (actor, actress, or director). The objects represented by the

Using C++ Create a program that will create classes to represent a movie, and a person (actor, actress, or director). The objects represented by the classes will not be connected with each other in this version.

Details:

A movie should contain fields for the title, running time in minutes, MPAA rating (if any), whether the movie is in color or not, the format or aspect ratio of the movie (optional), and the year the movie was released. A person (either an actor or a director) should include first name, last name, birth year, death year (optional), and gender. You should set up classes for these items and your command interface should allow you to input a movie, input a person, output the last movie input, and output the last person input. In addition, the user should be able to exit the program, get simple help, and find out about the program. The commands must be:

M or m : Input a movie and add it to the list of movies.

P or p : Input a person and add it to the list of people..

S or s : Show the list of movies input.

D or d : Display the list of people input.

A or a : Print an about message that gives the programmers name and a version for the program.

H or h : Print a help message detailing these commands.

X or x : Exit the program.

In a future project or in class we will connect actors and directors to our Movie information but do not do it in this version. On startup, you should read input data from two files -- movie.txt and people.txt to initialize the lists. On exit you should write the data from your lists into the files newmovie.txt and newpeople.txt.

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!