M
Mathieu Malaterre
Hi,
I am tryig to convert part of a c++ IO library. Right now I am removing
all 'FILE*' and replace them with ifstream.
But I have a problem, after seeking through a stream I have to call the
ijg (jpeg library). Since this is a C library it uses FILE*. My question
is then is there a compatibility layer for ifstream <-> FILE* ?
It should work on non-GNU compiler.
Thanks,
Mathieu
Ps: All I found was:
http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/class____gnu__cxx_1_1stdio__filebuf.html
I am tryig to convert part of a c++ IO library. Right now I am removing
all 'FILE*' and replace them with ifstream.
But I have a problem, after seeking through a stream I have to call the
ijg (jpeg library). Since this is a C library it uses FILE*. My question
is then is there a compatibility layer for ifstream <-> FILE* ?
It should work on non-GNU compiler.
Thanks,
Mathieu
Ps: All I found was:
http://gcc.gnu.org/onlinedocs/libstdc++/latest-doxygen/class____gnu__cxx_1_1stdio__filebuf.html