Quote:
Originally Posted by ApothiX
std::string is not a built-in datatype in C++. It is a part of the STL.
That, and templates are what pretty much make up C++.
|
I'm not claiming string to be a built-in data-type. It was developed as a result of the addition of object-oriented features. I'm just pointing out that it's a hassle to switch between char * and string because most higher level functionality will use the string class.