popen() equivalent

G

Grumble

Hello all,

Is there an iostream equivalent to cstdio's popen()?

Is there a way to change a FILE * into an iostream?
 
A

Alex Vinokur

Grumble said:
Hello all,

Is there an iostream equivalent to cstdio's popen()?

1. popen() is a system call (UNIX), it is not function from libc or another C library.

2. Look at C++ wrapper around popen() :
* http://alexvn.freeservers.com/s1/popen.html
* http://alexvn.freeservers.com/s1/download.html (C++-wrapper around popen)
* http://www.simtel.net/product.php?id=61570

[snip]

--
=====================================
Alex Vinokur
mailto:[email protected]
http://mathforum.org/library/view/10978.html
news://news.gmane.org/gmane.comp.lang.c++.perfometer
=====================================
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,744
Messages
2,569,484
Members
44,903
Latest member
orderPeak8CBDGummies

Latest Threads

Top