Did somebody change the automatic stdout.flush behavior?

Timon Gehr timon.gehr at gmx.ch
Thu Feb 17 08:02:02 UTC 2022


On 17.02.22 01:36, Ali Çehreli wrote:
> Was that a special thing about C++'s cout and cin?
> Help! Losing my mind... 
Afaik it's a more general feature of streams and for cin/cout, the 
following works:

std::cin.tie(nullptr);    // untie cin and cout
std::cin.tie(&std::cout); // tie cin and cout (the default)


More information about the Digitalmars-d mailing list