title: How can I see cout output in a non-console application?
body: <p>It seems rather tedious to output to debug window. Where can I find <code>cout</code> output if I am writing a non-console information ? </p>
  
  <p>Like:  </p>
  
  <pre><code>double i = a / b;
  cout &lt;&lt; b &lt;&lt; endl;//I want to check out whether b is zero. It seems the output cannot be found anywhere.
  </code></pre>