so below is the error I am getting. I have been working on my own since Friday to research and correct it and I am no closer now than I was Friday. anyone able to help?
1 2 3 4 5 6 7 8 9 10
Library.cpp:42:28: error: no matching function for call to ‘Book::setRequestedBy (std::string&)’
btemp->setRequestedBy(pID);
^
Library.cpp:42:28: note: candidate is:
In file included from Patron.hpp:6:0,
from Library.cpp:3:
Book.hpp:37:10: note: void Book::setRequestedBy(Patron*)
void setRequestedBy(Patron*);
^
Book.hpp:37:10: note: no known conversion for argument 1 from ‘std::string {ak a std::basic_string<char>}’ to ‘Patron*’
this is the method I am working in with in the class
this and the next code are in different files However I have included the headers as needed in each header.