Forums
New posts
Search forums
Members
Current visitors
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Menu
Log in
Register
Install the app
Install
Forums
Archive
Archive
C++
Classes: Reading in data? Using constructors?
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
[QUOTE="Jonathan Mcdougall, post: 2557201"] Ah.. well.. several things here. 1) quote the message you are answering to 2) people here expect you to work a bit before asking some questions, don`t just dump me an error message, that's not very motivating 3) the error is exactly as stated: const std::string Book::getNcopies() const does not match any in class `Book' int Book::getNcopies() const As you can see, the return value of the declaration is different. Change it. Jonathan [/QUOTE]
Verification
Post reply
Forums
Archive
Archive
C++
Classes: Reading in data? Using constructors?
Top