On Mar 18, 6:45*pm, Jack Klein <(E-Mail Removed)> wrote:
> On Tue, 18 Mar 2008 11:20:26 -0700 (PDT), Dave Johansen
> <(E-Mail Removed)> wrote in comp.lang.c++:
> > Is it ok to call fcloseall() when using both C-style FILE * and C++
> > std:fstream's to read files in a program?
> > Thanks,
> > Dave
> No idea. *There is no "fcloseall()" function in either the standard C
> or the standard C++ library. *So you will have to consult the provider
> to find out what it does or does not do.
> Jack Klein
> FAQs for
I did a little more research and it is actually a GNU and Microsoft
extension, but it causes problems when using static/global fstream's
because the destructors try to close the FILE * that has already been