Already have an account? Get multiple benefits of using own account!
Login in your account..!
Remember me
Don't have an account? Create your account in less than a minutes,
Forgot password? how can I recover my password now!
Enter right registered email to receive password!
Create a simple movie management system that manages a list of scheduled movies to be played at a fictitious movie theater. Your program must use of the "list" API in the C++ standard template library (STL). Your program must keep track of the fictitious movie theater's movies in a global linked list data structure. The program must implement at least one class, which will hold the following class variables: • An integer variable to hold the movie identification number. This must be a randomly generated string that consists of exactly two characters and six digits. For example, SW389613. Duplicate entries are not allowed. • A string variable to hold the name of the movie. • A string variable to hold a brief description of the movie. • An integer variable to hold the number of screens that the movie will be played on. • A double variable to hold the general admission price for the movie. A string variable to hold the start date that theater will begin showing the move. The entered date must be in the form mm/dd/yyyy. Again, if the user enters an invalid date format, print an error and re-prompt the user to enter the date in correct format. • A string variable to hold the end date that that theater will stop showing the move. The entered date must be in the form mm/dd/yyyy. If the user enters an invalid date format, print an error and re-prompt the user to enter the date in correct format. Provide the appropriate accessor methods to set and get the data for these class variables. For example getMovieName() and setMovieName(string moiveName). The main program must provide the following functionality: 1. When the program is first started, it must read a data file called movies.dat. If the file exists, the program will load the data for each movie record into the global linked list data structure. 2. Provide a simple text-based user interface that displays the name of your fictitious movie theater and allows the user to operate on the global linked list of movies. Each move record must be placed in this global linked list and will hold all of the information associated with each movie that the theater plays. The program interface will allow the user to do the following: (a) Enter a movie - allows the user to enter all fields for an existing movie in the linked lists, except the movie identifier, which will be automatically generated random sixdigit number. After the data fields are entered, the program will place the movie record in the global linked list. (b) Search for a movie - allows the user to search for a movie in the linked list based on a user provided movie identifier. Display a message if the item is not found in the linked list. (c) Modify a movie - allows the user to modify any of the fields for a movie (except for the movie identifier) in the linked list for given movie as indicated by the movie identifier. Display a message if the movie is not found in the linked list. (d) Delete a movie - allows the user to delete a movie record from the linked list using movie indentifier as the key. Display a message if the item is not found in the inventory linked list. (e) Display movies - displays all of the movies in the linked list. (f) Exit program - before the program exits, it must save all of the data for each of the movies that is contained within the global linked list into the movies.dat data file. At this point, if the file does not exist, the program will create it.
What are the benefits of using tangible interfaces compared with other interfaces like GUI, pen-based or gesture?
How would you solve the following in C++? Please write code below: Write a condition-controlled while loop that allows the user to enter the calories they burned. Stop looping when the user enters a negative number. Display the Total and Average n..
If a collection stores 5 objects, what value would be returned from a call to its size() method?
Create class SavingsAccount. Use a static variable annualInterestRate to store the annual interest rate for all account holders. Each object of the class contains a private instance variable savingBalance indicating the amount that saver currently..
Give two languages that are in direct conflict with each other. Provide examples of these conflicts as either programming examples (features allowed or not allowed) or program model, (environment). Compare and contrast the terms readability and write..
What would be the best approach to organizing and funding their IT organization? Describe at least one alternative approach. Provide justification for why your proposed approach is the best one.
Typically, this setting is left at default until final renderings are being produced. To reduce gaps or facets in rendering which setting do you adjust?
What is the value of alpha[4] after the following code executes? int alpha[5] = {0}; int j; alpha[0] = 2; for (j = 1; j
For each employee: name, number of years that he or she has worked for the company, whether or not they are interested in the new work position.
Convert the following numbers to 16-bit signed magnitude numbers (display results in hexadecimal):
Explain in scholarly detail why it is recommended that business communications be oriented toward upper management and what kinds of attitudes should these upper management personnel possess.
Write the command to run the file called 'process' assuming it is in your current directory, has execute permission, but that your current directory is not in the standard path command search list:
Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!
whatsapp: +1-415-670-9521
Phone: +1-415-670-9521
Email: [email protected]
All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd