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="fakeprogress, post: 2557206"] I'm sorry. I was going to but I pressed the Post Message button by accident... Sorry! Again... the Post Message button was clicked by accident. Right. Thanks. I changed all that and now I get these errors: C:\CIS\22\asn2\library.hpp In function `void printFull(Library&)': 4 C:\CIS\22\asn2\library.hpp `std::string Book::title' is private 75 C:\CIS\22\asn2\asn2.cpp within this context 75 C:\CIS\22\asn2\asn2.cpp no match for call to `(std::string) ()' 3 C:\CIS\22\asn2\library.hpp `std::string Book::author' is private 76 C:\CIS\22\asn2\asn2.cpp within this context 76 C:\CIS\22\asn2\asn2.cpp no match for call to `(std::string) ()' According to the professor's instructors, they have to be private... so what I can do? Thank you so much for all your help, Jonathan :D It's really appreciated :) [/QUOTE]
Verification
Post reply
Forums
Archive
Archive
C++
Classes: Reading in data? Using constructors?
Top