so instead of running an empty loop before printing the text, is there any method?
use sleep() , before your output command
Easiest cross platforms solution: http://en.cppreference.com/w/cpp/thread/sleep_for
Обсуждают сегодня