I have to "translate" a:
char data[32]
into a:
tstring data;
Where the tstring
is a typedef to std::string
or a std::wstring
depending on a preprocessor definition.
Assuming that data[32]
contains only ASCII characters, what whould be the easiest way to pass this data into a tstring
object?