Revision: 11789
Initial Code
Initial URL
Initial Description
Initial Title
Initial Tags
Initial Language
at February 18, 2009 16:29 by jimfred
Initial Code
CFile file; // Open file using 3 flags. file.Open( pFilename, CFile::modeCreate|CFile::modeNoTruncate|CFile::modeWrite ); file.SeekToEnd(); // Seek to append. Otherwise, it'll write the beginning. file.Write(s, s.GetLength() ); // write some CString s. file.Close();
Initial URL
Initial Description
Initial Title
MFC, log to file
Initial Tags
Initial Language
C++