title: Calling OutputDebugString in a C++ UWP project
body: <p>I'm trying to add a simple diagnostic output to a C++ UWP shared project akin to <code>System.Diagnostics.Debug.WriteLine</code> in C#. Following the documentation for OutputDebugString here and this solution <a href="https://stackoverflow.com/a/3179234/575530">here</a> I've tried this:</p>
  
  <pre class="lang-cplusplus prettyprint-override"><code>char buf[1024];
  sprintf(buf, "frequency = %f", (float)result);
  OutputDebugString(buf);
  </code></pre>
  
  <p>but I get the compiler error</p>
  
  <blockquote>
    <p>argument of type "char*" is incompatible with parameter of type "LPCWSTR"</p>
  </blockquote>
  
  <p>How do I fix this?</p>