Re:Convincing C programmers to switch to C++: A look at huma...
by dheera on Friday June 02, 2017 @11:31AM
(#14470619)
One of the major problems I have with C++ is that for any non-primitive data type, there are way too many choices of mutually incompatible classes that people have developed. Even strings. There are things out there that use char[], std::string, CString, APString (#*&!), ...
[ Parent
| on HN ]
Re:Convincing C programmers to switch to C++: A look at huma...
by swiley on Friday June 02, 2017 @11:37AM
(#14470668)
Aren't char[] strings and CStrings the same?
Re:Convincing C programmers to switch to C++: A look at huma...
by self_awareness on Friday June 02, 2017 @11:41AM
(#14470699)
I think dheera meant CString class from MFC, not a "plain C string".
I'll also add QString, AnsiString, BSTR and glib::ustring to the mix :)