Welcome to the new platform of Programmer's Heaven! We apologize for the inconvenience caused, if you visited us from a broken link of the previous version. The main reason to move to a new platform is to provide more effective and collaborative experience to you all. Please feel free to experience the new platform and use its exciting features. Contact us for any issue that you need to get clarified. We are more than happy to help you.
How to use sleep() function?
I have found some source codes that they use sleep(), but I have tried myself but couldn't get it right, can someone tell me what's the error of this coding? I know I have missed something, is it header file? (Asking stupid question again)
cout << "Hello!
cout << "How are you?
Error Message: error C2065: 'sleep' : undeclared identifier
0 · ·