cppreference.com
>
C++ I/O
>
close
close
Syntax:
#include <fstream> void close();
The close() function closes the associated file stream.
Related topics:
I/O Constructors
open