When tracing through a program and you are watching a variable... say filename. Now filename happens to be a CString object.

In the watch window the value of the CString object is shown in the second column as {"C:\whatever.txt"}; whereas, if it were another object it would just show {...}.

Hopefully you now know what I am talking about and my question will make sense.


How is this done? Is there an operator you have to write? or what?

If anyone knows... please tell... because well I am curious and I wanna know.

I looked at the header file... but didn't see anything special.