Is it possible to convert an istream like std::cin to a FILE *? A cross-platform solution would be a plus. EX: (FILE *)std::cin.
istream
std::cin
FILE *
(FILE *)std::cin
No, there is no standard way to obtain a FILE* from an IOStreams stream, nor vice versa.
FILE*