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++
Please, help me. It's destructor problem
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="peter koch, post: 2582241"] Why use pointers? Pointers are difficult to use and quite often the wrong solution. Use the standard library (as your teacher should have told you to!): Person::Person(std::string const& s, Date& d) : name(s),birthday(d) [snip] So in short: learn to use the standard library and avoid using pointers until you get a problem that you can't solve without them. /Peter [/QUOTE]
Verification
Post reply
Forums
Archive
Archive
C++
Please, help me. It's destructor problem
Top