|
|
#include <iostream>bool sync_with_stdio(bool sync = true);
The sync_with_stdio( ) function is a member of ios (inherited from ios_base).
Calling sync_with_stdio( ) allows the C-like I/O system to be safely used concurrently with the C++ class-based I/O system. To turn off synchronization, pass false to sync_with_stdio( ). The previous setting is returned: true for synchronized; false for no synchronization. By default, the standard streams are synchronized. This function is reliable only if called prior to any other I/O operations.
|
|