C++ Code:
wstring stringToWstring(const string &inputString)
{
// Make room for characters
std::wstring destinationString(inputString.length(), L' ');
// Copy string to wstring.
std::copy(inputString.begin(), inputString.end(), destinationString.begin());
return destinationString;
}
If you have any issues with the information provided, feel free to mail me at manigandasuresh@gmail.com
wstring stringToWstring(const string &inputString)
{
// Make room for characters
std::wstring destinationString(inputString.length(), L' ');
// Copy string to wstring.
std::copy(inputString.begin(), inputString.end(), destinationString.begin());
return destinationString;
}
If you have any issues with the information provided, feel free to mail me at manigandasuresh@gmail.com
This comment has been removed by the author.
ReplyDelete