This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Pipes...


Hi Alcino,

To my knowledge, there is no equivalent to the fairly-platform-specific
popen(), pclose(), et al, which work with pipes in C++ as an abstracted
object, such as a C++ I/O Stream.

You can use popen(), pclose(), et al, in C++, just as you would in C.

You can wrap the functionality of popen(), pclose(), et al inside a helper
class (say, class Pipe) of your own devising.

Sincerely,
--Eljay


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]