For my latest CS homework, I am required to create a class called Movie which holds title, director, year, rating, actors etc.
Then, I am required to read a file which c
It means something like this:
std::vector movies;
Then you add to the vector as you read lines:
movies.push_back(new Movie(...));
Remember to delete all of the Movie* objects once you are done with the vector.
Movie*