[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [C++] popen and ofstream(int) with g++ 3.0



On 06-Mar-2002 Mikael Hedin wrote:
> Hi!
> 
> 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?
> 

looking through the headers, there does not seem to be a way to handle this
properly.



Reply to: