Help, I'm fairly new to C++ and really having trouble understanding the whole thing. For this program I'm supposed to design and implement a C++ class to store information about a movie that I get from a csv file. I'm also supposed to implement a tester program that loads. I have the tester program below and it keeps giving me issues with my vector and my destructor. I am completely lost right now. If I'm doing a bad job of explaining, I'm sorry, just let me know and I'll try to reexplain myself.
[code]
It is giving me errors like that no operator matches the "~" operand.
You don't call a destructor explicitly, like you're doing. It's called automatically when an object is destroyed.
3)
And that printMovies(vector<Movie*>); is not an allowed type name.
Look at where you're calling that function. That's not the right syntax for calling a function. You obviously know the correct syntax, because you do it right elsewhere.