How to use delay() in c++ program & which is the header file to include | Sololearn: Learn to code for FREE!
Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis
0

How to use delay() in c++ program & which is the header file to include

5th Jul 2017, 4:01 PM
Ashutosh Purohit
Ashutosh Purohit - avatar
2 Respostas
+ 1
You mean a timer function or sleep. I think delay is from javascript.
5th Jul 2017, 4:23 PM
Manual
Manual - avatar
+ 1
Here is a timer I copied from a cpp reference site. if you extent the time over 4 seconds it will not work on Sololearn. Alot of C++ code does not work here.
5th Jul 2017, 4:27 PM
Manual
Manual - avatar