Include the traditional header <fstream.h> to effectively include the standard header <fstream> and hoist its names outside the std namespace.

In this implementation, all names are hoisted, to provide a more traditional library environment.

#include <fstream>
using namespace std;

See also the Table of Contents and the Index.

Copyright © 1992-2006 by P.J. Plauger. All rights reserved.

Last modified: 2013-12-21

Got questions about leaving a comment? Get answers from our Disqus FAQ.

comments powered by Disqus