sync_with_stdio

C++ Reference

sync_with_stdio
Syntax:
  #include <fstream>
  static bool sync_with_stdio( bool sync=true );

The sync_with_stdio() function allows you to turn on and off the ability for the C++ I/O system to work with the C I/O system.