Problem calling class function.
Okay, so it's me again :)
I have declared a vector and function within a class
I have defined the function within a .cpp file
However, when I call the function, I think I am passing the argument incorrectly. I have tried as such:
void Library::add_books(vector<Book>& b)
But I get the following error:
error C2597: illegal reference to non-static member 'Library::Books
Any wise words of wisdom?