Suppose I \"popen\" an executable, I get a FILE* in return. Furthermore, suppose I\'d like to \"connect\" this file to an istream object for easier
FILE*
istream
Sure there's a way, implement your own istream that can be constructed from a FILE*.
If you're asking whether there is a standard way to do this, then no.