Write a C style string to a file.
bool WriteStringToFile( const char *pcszFilename, const char *pcszTextToWrite );
Returns true if the file was successfully written.
char szBuf = "Test File";
if( WriteStringToFile( "d:\\Test.txt", szBuf ) )
// Our string has been successfully written to file.
See also none