Networking, Programming and Graphics Tutorials

Closing a file - C++ [1/1]

Type:
Closing a file - C++
Level: Expert Networking, Programming and Graphics Tutorials Networking, Programming and Graphics Tutorials Networking, Programming and Graphics Tutorials 
Closing a file - C++
Date: 2006-Dec-12
Closing a file - C++
Visited: 2190 times
Closing a file - C++
Rating: Closing a file - C++
Closing a file - C++
Author: Alex Plumpton

Closing a file disconnects a file from the associated stream. The file may be again connected to the same or different stream later. Assume outstream object is used to open the file named outfile for output. The statement disconnects the file outfile from the output stream outstream. The object outstream still exists and the outfile file may again be connected to outstream later.

outstream.close();
Rate this tutorial:                    
Networking, Programming and Graphics Tutorials - Closing a file - C++ [1/1] - Networking, Programming and Graphics Tutorials

Need a specific tutorial? Do not hesitate and submit a request!
Related Tags: opening and closing a file in c++  closing file statement in c++  closing all ports on xp  c++ closing pointers  xp closing ports  Closing TCP Ports in Windows XP  closing ports on windows  closing ports on windows xp  closing windows xp ports  closing ports in Windows