My apologies if this is a mundane question everyone has asked at some point. I
don't usually work with c/c++ so there are probably obvious things that I'm
missing..
I'd like to find an elegant way to connect a handle as returned from
the unix pipe() system call to an istream object.
Is there a way to mix FILE handles with iostream objects? Would I need to
create another class that inherits from istream in order to get the handle
from pipe() to be an ios object? (I'm only interested in the reader side)
Is there an example some place about doing this kind of thing? I have to
think it's been done dozens of times in dozens of different ways.
Jamie
--
http://www.geniegate.com Custom web programming
User Management Solutions Perl / PHP / Java / UNIX