title: std::cout won't print
body: <p>Is there any circumstance when <code>std::cout &lt;&lt; "hello"</code> doesn't work? I have a c/c++ code, however the <code>std::cout</code> doesn't print anything, not even constant strings (such as "hello"). </p>
  
  <p>Is there any way to check if <code>cout</code> is able/unable to open the stream? There are some member functions like <code>good()</code>, <code>bad()</code>, ... but I don't know which one is suitable for me.</p>