_flushall >> cin.sync()

C++