Go back to Richel Bilderbeek's homepage.

Go back to Richel Bilderbeek's C++ page.

 

 

 

 

 

(C++) StrToWide

 

StrToWide converts a std::string to WideString

 

#include <string>

//From http://www.richelbilderbeek.nl/CppStrToWide.htm
WideString StrToWide(const std::string& s)
{
  return s.c_str();
}

 

 

 

 

 

Go back to Richel Bilderbeek's C++ page.

Go back to Richel Bilderbeek's homepage.

 

Valid XHTML 1.0 Strict