title: equivalant of fprint in c++
body: <p><code>g++ (GCC) 4.6.0 20110419 (Red Hat 4.6.0-5</code>)</p>
  
  <p>what is the equivalent of this in c++? I know that this will compile in g++. But I just interested to see if there is any thing else in c++ that I can use like this.</p>
  
  <pre><code>fprintf(stderr, "Server failed to receive message [ %s ]\n", stderror(errno));
  </code></pre>
  
  <p>Many thanks for any suggestions,</p>