I cant understand how to implement movie and user classes inside the moviestore class, when i dont know how much movies and users are to be created??
[code]
int main() {
MovieStore s1, s2; // create two stores
s1.AddMovie("Hobbit", 4.5); // add a movie with average rating of 4.5
s1.AddUser("Alpha", 3.7); // add a user with average rating of 3.7
s1.AddMovieRatings("Hobbit", "Alpha") = 5; // Add the user "Alpha's" rating for movie hobbit this should add the
// user ratings to movie "Hobbit" as well as to users record as well
s1.AddMovieRatings(2, 3) = 1; // add the rating of 1 for movie id 2 form
er - id 3;
cout << s1["Hobbit"]; // should print the movie hobbit ratings