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