Hi I have an array of type TCHAR arr[256]. I want to convert this TChar array to a std::string, so that I will able use the functions in the string class.
Can anyone kindly let me know how to do this TCHAR[] to string conversion in VC++.
Also what is the syntax to do this:
If TCHAR arr[256] is my array.
std::string str is my straing obj
. Will the foll syntax work fine: str = arr;
Thanks in advance.