Mixing CString's and std::string ... yay or nay?

Started by
9 comments, last by dalleboy 19 years, 5 months ago
CString in MFC are as bad as QString in Qt and as bad as wxString in wxWidgets and about as bad as std::string in C++/STL.

Many libraries have their own implementation for strings, for better and worse, just get used to it, it will not go away anywhere soon.

My suggestion is that you use CString in the GUI code where it is needed, and use whatever you want outside the GUI code.
Arguing on the internet is like running in the Special Olympics: Even if you win, you're still retarded.[How To Ask Questions|STL Programmer's Guide|Bjarne FAQ|C++ FAQ Lite|C++ Reference|MSDN]

This topic is closed to new replies.

Advertisement