title: Outputting 'wchar_t*' to an 'ofstream'
body: <p>I want to output a text to a file via two pointers that I have declared:</p>
  
  <pre><code>wchar_t   *Col1="dsffsd", *Col2="sdfsf";
  </code></pre>
  
  <p>Here is what I have tried:</p>
  
  <pre><code>std::ofstream fout;
  fout.open(NativeDatabasePathHist);
  fout&lt;&lt;"testing";
  fout&lt;&lt;" "&lt;&lt;Col1&lt;&lt;" "&lt;&lt;Col2;
  fout.close();
  </code></pre>
  
  <p>And here is what I am getting:</p>
  
  <blockquote>
    <p>testing 113 113</p>
  </blockquote>
  
  <p>Why is it that when I print <code>Col1</code> and <code>Col2</code>, I am getting numbers instead of strings?</p>