#include <string>
usingnamespace std;
int main()
{
string someText = "I’ll convert this string into bytes"; //This is also a character array!
char test = someText[3]; // l
}
Dunno BSTR and _bstr_t, but I think you can develop your own functions named like .NET's.
If you don't think the std::string class is a good replacement, you can find lots of string libraries on the Internet or even create your own from another or some others, like to split wxWidgets' wxString from wxWidgets and create your own library.