title: Convert istream to FILE*
body: <p>Is it possible to convert an <code>istream</code> like <code>std::cin</code> to a <code>FILE *</code>? A cross-platform solution would be a plus.
  <br>
  <br>
  EX: <code>(FILE *)std::cin</code>.</p>