+ 3
Is there any way to delay in c ++
I searched the net a lot of times but was unable to find the answer could someone please help me??
5 Answers
+ 1
K Nani Goud it will not work on the playground.
there is no simple sleep function in the standard library.
you have to use system specific functions such as sleep on windows.
maybe you can write your own pause function using the included time functions in c++ such as in the ctime or chrono header, maybe check out chrono::high_resolution_clock
+ 8
http://www.cplusplus.com/forum/beginner/13906/
this link will help you
+ 5
yes if you are using turbo C means u can give delay by using delay() function by including "dos"
header file
0
But that function sleep doest work
0
Max thanks thats was probably something to learn