At first, the text file is use for saving user information but after that when i want to save more thing in the same text file, the user infomration is being overwite. How can prevent the original message from being overwite?
When you create the CFile/CNiFile object to write to the file, use the CFile::modeNoTruncate flag to indicate that you want to open the file as an existing file and that you don't want the file to be truncated to 0 length. For more information, see documentation for the CFile flags.