As you can see, A CString object is created local to the function, manipulated, and then returned by value. With most objects this would be completely illegal because the object would be distroyed at ...
I've got stuck on an embarrassingly simple problem in Visual C++ - converting a string to an integer. I have an MFC dialog, and an edit control - I want to convert the text in the edit control into an ...