for(int i = 0; i < 10; i++) { std::cout << i << " "; std::this_thread::sleep_for(std::chrono::milliseconds(1000)); }
std::cout << i << " " << std::flush;
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)