Why does my cout output not appear immediately?

You’re not flushing your output.

std::cout << "||" << std::flush;

Leave a Comment