+ 1

Timer?

Ok, this might sound like a fun question bc I’m new to C++ but is there something that can delay your input by a few seconds? Example: int x; cout << “hello”; cin >> x; Is there a way to delay the cin from happening leaving enough time for someone to read hello?

17th Aug 2021, 8:45 PM
Liam {other}
Liam {other} - avatar
1 Respuesta
+ 3
I mean that already happens , i just don't see how cin happening at anytime after cout will prevent the message from displaying . If you are talking about sololearn it's a different thing and you can't change that .
17th Aug 2021, 9:08 PM
Abhay
Abhay - avatar