ostream::flush

ostream& flush();

Remarks

Flushes the buffer associated with this stream. The flush function calls the sync function of the associated streambuf.

ostream OverviewOutput Stream Classes

See Also   ostream flush manipulator, streambuf::sync