C++ File handling: Append data to existing text file

C++ File handling: Append data to existing text file