How to work with the time function in c++ | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

How to work with the time function in c++

I would like to create my own sleep function algorithm with this function (the inbuilt sleep function seems not to be working on my computer ) please help me out

3rd Aug 2018, 12:55 AM
Johnson Hope Opeoluwa
Johnson Hope Opeoluwa - avatar
2 Answers
+ 1
can you share your code? I never came across any issue with sleep function
3rd Aug 2018, 3:20 AM
Ketan Lalcheta
Ketan Lalcheta - avatar
+ 1
perhaps you are not using the sleep function right, post your code please
3rd Aug 2018, 6:22 AM
hinanawi
hinanawi - avatar