title: Convert wchar_t to wstring in c++
body: <p>I have the following code.</p>
  
  <pre><code>wchar_t path[MAX_PATH +1] = {0};
  
  SHGetFolderPathW(NULL, CSIDL_COMMON_APPDATA, NULL, SHGFP_TYPE_CURRENT, path);
  </code></pre>
  
  <p>Here I take the program data folder path to "path" which is wchar_t. I want to convert it to wstirng and print it. How can I do that ?</p>