Similar questions | Write string to end of file (c + +)