unsetf

sync_with_stdio

#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.




C(s)C++ Programmer's Reference
C Programming on the IBM PC (C Programmers Reference Guide Series)
ISBN: 0673462897
EAN: 2147483647
Year: 2002
Pages: 539

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net