C Programming on the IBM PC (C Programmers Reference Guide Series)

flush

#include <iostream>ostream &flush();

The flush( ) function is a member of ostream.

The flush( ) function causes the buffer connected to the associated output stream to be physically written to the device. The function returns a reference to its associated stream.

Related functions are put( ) and write( ).

Категории