How to derive a class from CString
Posted on 1998-04-23
I want to derive a class from CString so I can add functionality to it (such as FindAfter(index), TruncateBefore(CString), etc). I have created the drived class, but can't figure out how to effectively override the operator=() function so as to let the parent class handle the string.
So, how do I effectively derive a class from CString?