Close the file associated with the indicated file object.
BOOL Close( )
A value of FALSE or 0 indicates fail to close file and a value of TRUE or a
non-zero indicates sucessfully closing file.
char szTemp[MAXFULLPATH] = "C:\\test.txt";
string strFile = szTemp;
if( ff.Open(szTemp, file::modeCreate | file::modeWrite) )
ff.Write(szTemp, strFile.GetLength()); // Write the file name into the file.
ff.Close(); // Close the file when we are done.
Closes the file associated with the indicated file object. The file is then no longer available for reading and writing.