A pointer to a dynamically allocated array of movies (Movie * movies). Use an arbitrary initial size of 1000.
A static array of movie pointers (Movie * movies[1000]).
A pointer to a dynamically allocated array of movie pointers (Movie ** movies – a typedef might be good here). Use an arbitrary initial size of 1000.
Allow the user to enter a movie search string or a movie number (account for the movie not being found by either criteria).
Replace the rank/box array index with an enumerated type (no 0, 1, 2).
Resize the movies array to drop unused array elements if using options 1a or 1c.
Use a movie pointer (Movie * [or typedef]) as the parameter/return type for any methods accepting/returning a movie object.
Add const to all methods and return types as appropriate. If a method does not modify a data member, then const is appropriate. As movies are not modified after having been created/loaded, all Movie parameters and return types should probably be const Movie *.
Add a destructor and delete/delete[ ] as appropriate to eliminate any memory leaks. Also set pointers to null as/if needed.
Modify the driver to enable retrieval of the next movie, that is, the movie after the one currently shown, without the user entering, or knowing, the movie number.
Again, this could be as simple as specifying a special character to indicate retrieval of the next movie.
How to handle retrieving the next movie at startup (or after displaying the last movie, or after requesting an invalid movie), is a design decision. Possible options are to show the first movie or treat it as undefined (movie not found).
Absolutely spot on. I have had the best experience with Elite Academic Research and all my work have scored highly. Thank you for your professionalism and using expert writers with vast and outstanding knowledge in their fields. I highly recommend any day and time.
Stuart L
Thanks for keeping me sane for getting everything out of the way, I’ve been stuck working more than full time and balancing the rest but I’m glad you’ve been ensuring my school work is taken care of. I'll recommend Elite Academic Research to anyone who seeks quality academic help, thank you so much!
Mindi D
Brilliant writers and awesome support team. You can tell by the depth of research and the quality of work delivered that the writers care deeply about delivering that perfect grade.
Samuel Y
I really appreciate the work all your amazing writers do to ensure that my papers are always delivered on time and always of the highest quality. I was at a crossroads last semester and I almost dropped out of school because of the many issues that were bombarding but I am glad a friend referred me to you guys. You came up big for me and continue to do so. I just wish I knew about your services earlier.
Cindy L
You can't fault the paper quality and speed of delivery. I have been using these guys for the past 3 years and I not even once have they ever failed me. They deliver properly researched papers way ahead of time. Each time I think I have had the best their professional writers surprise me with even better quality work. Elite Academic Research is a true Gem among essay writing companies.
Got an A and plagiarism percent was less than 10%! Thanks!