Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- Zortech C++ 3.0r4 - <b>ifstream::close</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
ifstream::close

Usage

   #include <fstream.hpp>
   void ifstream::close();

Description

   The associated file is closed, and the filebuf put into an unattached
   state. The error state will be set (ios::failbit|ios::badbit) if
   rdbuf()->close() fails.

Example 

   ifstream ifs;
   ifs.open("input.dat");
   ifs.close();

Return Value

   None.





Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson