title: How do I print to the debug output window in a Win32 app?
body: <p>I've got a win32 project that I've loaded into Visual Studio 2005. I'd like to be able to print things to the Visual Studio output window, but I can't for the life of me work out how. I've tried 'printf' and 'cout &lt;&lt;' but my messages stay stubbornly unprinted.</p>
  
  <p>Is there some sort of special way to print to the Visual Studio output window?</p>