I'm sorry if this is a question that's already come up, but I searched and couldn't find anything - is there a way in the C++ standard library to get an ostream (or an istream, depending on what you want) from a FILE*
?
Something along the lines of
FILE* something;
auto out = hypothetical(something);
out << "Hello world" << std::endl;