Spence Green

التكرار يعلم الحمار

I work at Lilt. In addition to computers and languages, my interests include travel, running, and scuba diving. more...

std::string in the Visual Studio .NET Debugger

with 30 comments

The VS.NET 2003 debugger evidently displays only the first 256 characters of a std::string. It terminates the string with “/H”. I could find no documentation about this behavior. Output the string to the console to ensure its validity:

std::string temp; //A long string
Console::WriteLine(new String(temp.c_str()));

Written by Spence

July 14th, 2005 at 11:33 am

Posted in .NET

Leave a Reply

You must be logged in to post a comment.