A char* stream for writing can either maintain a character sequence that grows as needed or be
initialized with a buffer of fixed size. Using the flag ios::app or ios:ate, you can append the
characters written to a character sequence that is already stored in the buffer.