title: printf vs. std::cout
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/2017489/should-i-use-printf-in-my-c-code">Should I use printf in my C++ code?</a>  </p>
  </blockquote>
  
  
  
  <p>If I just want to print a <code>string</code> on screen, I can do that using those two ways:</p>
  
  <pre><code>printf("abc");
  
  std::cout &lt;&lt; "abc" &lt;&lt; std::endl;
  </code></pre>
  
  <p>The case is, and in the examples shown above, is there an advantage of using <code>printf</code> over <code>std::cout</code>, or, vice versa? </p>