ostream& flush();
Remarks
Flushes the buffer associated with this stream. The flush function calls the sync function of the associated streambuf.
ostream Overview | Output Stream Classes
See Also ostream flush manipulator, streambuf::sync