Time shifted cout calls | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Time shifted cout calls

Is it possible to print text time shifted? IMO it is not possible to print something delayed with a kind of sleep(n) function. Or do you have some ideas how it is possible with LearnC++? Thanxs for your support.

6th Oct 2019, 4:29 PM
Mini Coe
Mini Coe - avatar
1 Answer
0
on a windows PC #include <windows.h> In you code:- Sleep(1000); the 1000 is in milliseconds.
6th Oct 2019, 4:36 PM
rodwynnejones
rodwynnejones - avatar