views:

187

answers:

1

I came from Java/C# and am amazed at the sheer ugliness of strings in C++, particularly the variety of C++ types invented to make strings more pleasant that all still seem to be in use somewhere (std::string std::wstring CString null terminated strings, null terminated strings of tchars, ....) and whose interoperability and encodings only serve to heighten the pain. Is this the darkest black hole sucking joy out of everyday programming or is there a blacker pit of programming evil whose poignant anguish I haven't yet experienced?

+4  A: 

C strings (i.e. arrays of tiny integers ending with a byte of 00)

James Curran