static bool sync_with_stdio( bool sync = true );
Sets whether the standard C++ streams are synchronized to the standard C streams after each input/output operation.
The standard C++ streams are the following: std::cin, std::cout, std::cerr, std::clog, std::wcin, std::wcout, std::wcerr and std::wclog.
The standard C streams are the following: stdin, stdout and stderr.
For a standard stream str, synchronized with the C stream f, the following pairs of functions have identical effect:
1)