Vision and dreams are the blueprints of soul and achievements.
-Mohammed Ahmed F

Program to make Windows sleep

#include<time.h>

#include<stdio.h>
#include<windows.h> 
#include<conio.h>

int main()
{

printf("This is the message before sleep() function\n");
sleep(5000); /*5000 microsecond = 5 seconds will sleep.*/
printf("This is the message after 5 seconds");

getch();

return 0;
}

Share this

Related Posts

Dear User,

Thank you for your comment. Hope you like this blog. Kindly share us on Social Media so others can be updated.

-Chief Administrative Officer.

Note: only a member of this blog may post a comment.