Hi,

When I debug my code containing std:string, many times I see garbage in the std:string in the debuuger but is I call to c_str I see the correct value

I mean

If I have string smyString
I see smyString at the debugger as garbage

then I do (for example)
char szMyString[100]
strcpy(szMyString,sMyString.c_str())

I see szMyString just fine in the debugger

that mostly happens when I have chars like & { at the debbuger } but not only

Any explanation?
Do I have to worry about that?

Thanks
avi123