write a program that creates a class to hold Netflix data, which will have Movie
ID: 654011 • Letter: W
Question
write a program that creates a class to hold Netflix data, which will have Movie objects. You will ask the user if he/she wants to enter a new movie to the database or find a movie to rent.
If the user wants to enter a movie, then you will prompt the user for how many movies they want to enter into the database and the movie information for each: title, stars, number of cast members, cast member names, movie rating, and copies.
In addition, you will continually ask the user if they want to enter a new movie to the database or search for movies based on some criteria. Here are the class member variables for our Netflix system and movie objects. It is your job to determine the behavior for each class.
class netflix ( public: private: movie *m; //This is a dynamic array of movies int num_movies; 1i class movie public: private: string name; int stars; int num cast string cast: //This is a dynamic array of strings string *cast: //This is a dynamic array of strings string rating; int copies; l:Explanation / Answer
You agree to use the Netflix service, including all features and functionalities associated therewith, in accordance with all applicable laws, rules and regulations, or other restrictions on use of the service or content therein. You agree not to archive, download (other than through caching necessary for personal use), reproduce, distribute, modify, display, perform, publish, license, create derivative works from, offer for sale, or use (except as explicitly authorized in these Terms of Use) content and information contained on or obtained from or through the Netflix service without express written permission from Netflix and its licensors. You also agree not to: circumvent, remove, alter, deactivate, degrade or thwart any of the content protections in the Netflix service; use any robot, spider, scraper or other automated means to access the Netflix service; decompile, reverse engineer or disassemble any software or other products or processes accessible through the Netflix service; insert any code or product or manipulate the content of the Netflix service in any way; or, use any data mining, data gathering or extraction method. In addition, you agree not to upload, post, e-mail or otherwise send or transmit any material designed to interrupt, destroy or limit the functionality of any computer software or hardware or telecommunications equipment associated with the Netflix service, including any software viruses or any other computer code, files or programs. The availability of movies & TV shows to watch will change from time to time, and from country to country. The quality of the display of the streaming movies & TV shows may vary from computer to computer, and device to device, and may be affected by a variety of factors, such as your location, the bandwidth available through and/or speed of your Internet connection. HD and Ultra HD availability is subject to your Internet service and device capabilities. Not all content is available in HD or Ultra HD and not all plans allow you to receive HD or Ultra HD content. A download speed of at least 5.0 Mbps per stream is recommended to receive HD content, which is defined as 720p or better. A download speed of at least 25.0 Mbps per stream is recommended to receive Ultra HD content, which is defined as resolution greater than 1080p. You are responsible for all Internet access charges. Please check with your Internet provider for information on possible Internet data usage charges. Netflix makes no representations or warranties about the quality of your watching experience on your display. The time it takes to begin watching a movie or TV show will vary based on a number of factors, including your location, available bandwidth at the time, the movie or TV show you have selected and the configuration of your Netflix ready device.
Related Questions
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.