title: C++, regarding fprintf and ofstream
body: <p>I've been using <code>fprintf</code> for a while now and I'd like to ask a question. What is the equivalent of this <code>fprintf</code> line:</p>
  
  <pre><code>fprintf(OutputFile, "%s", "SomeStringValue");
  </code></pre>
  
  <p>using <code>ofstream</code> ?</p>
  
  <p>How to use the "%s" in <code>ofstream</code> is what I'd really like to know. How to take the next argument and print it as a string?</p>