文法:
#include <fstream> void fstream::close();
close()関数は、関連づけられたファイルストリームを閉じます。
関連トピック: I/Oコンストラクタ, open