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++
HEAP error when trying to use free() help needed
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="Juha Nieminen, post: 4218229"] Your solution to the lack of a copy constructor is to make a local static object which you return? That will only *mask* the problem, not solve it. That assignment operator is horribly broken. (Hint: It will only copy the first character of the array.) [/QUOTE]
Verification
Post reply
Forums
Archive
Archive
C++
HEAP error when trying to use free() help needed
Top