Even if so, your self-answer doesn't provide any new information. The answers in that thread already suggest both
std::flush
and std::fflush
. And if anything, they explain in more detail the difference between them.