close

Syntax:

    #include <fstream>
    void fstream::close();

The close() function closes the associated file stream.

Related Topics: I/O Constructors, open