cppreference.com > C++ I/O > put
put
Syntax:
  #include <fstream>
  ostream& put( char ch );

The function put() is used with output streams, and writes the character ch to the stream.