On Wednesday 06 Mar 2002 1:24 pm, Mikael Hedin wrote:

> I have some trouble with tela.  When compiling with g++ 3.0, there is
> no ofstream(int) function (as in STL).  This gives a problem when
> using popen(), as it returns a FILE*, and tela then uses an ofstream
> to read from the process.  I've used the patch below, but I'd say it's
> an ugly hack.  What's the suggested way to use popen functionality
> with STL?

Not STL, per se, but I believe the GNU libstdc++ has an extension capable of 
this:

http://gcc.gnu.org/onlinedocs/libstdc++/ext/howto.html

Reply via email to