title: How do I use OutputDebugString with a std::string?
body: <p>I'm trying to do:</p>
  
  <pre><code>std::string line = "bla";
  OutputDebugString( line.c_str() );
  </code></pre>
  
  <p>It won't compile, says it can't convert <code>const char*</code> to <code>LPCWSTR</code>. Is there no way to output <code>std::string</code> to the debug window?</p>
  
  <p>I also don't understand why this appears to work in this tutorial video here: <a href="https://youtu.be/EIzkeFTpMq0?list=PLqCJpWy5Fohfil0gvjzgdV4h29R9kDKtZ&amp;t=2101" rel="nofollow noreferrer">https://youtu.be/EIzkeFTpMq0?list=PLqCJpWy5Fohfil0gvjzgdV4h29R9kDKtZ&amp;t=2101</a></p>