How do I overload the operator "=" ?Thank you for the example! I didn´t know it was called conversion constructor. I will read more abo...
How do I overload the operator "=" ?I am reading about operator overloading and have a question about the standard [b]string[/b] class. ...
Printing the string pointer displays the memory location, not the valueWhen I print the string pointer the output is, what I guess, the memory location: 0xbfc010. How can...
Why does my program crash when deleting a pointer in the destructor?Oh, I see! But let´s that a class deletes a member that is a pointer like the example above. Is it...
Why does my program crash when deleting a pointer in the destructor?Hello! I can´t understand why this program crashes. In main(), I declare [b]char *name = new char...
This user does not accept Private Messages