C program to restart computer system
#include<stdio.h>
#include<conio.h>
main ()
{
system("shutdown -r -t 00");
//this will shutdown your computer and restart also.
//system("shutdown -s -t 10");
//this will shutdown your computer within 10 sec.
}
#include<conio.h>
main ()
{
system("shutdown -r -t 00");
//this will shutdown your computer and restart also.
//system("shutdown -s -t 10");
//this will shutdown your computer within 10 sec.
}
is good
ReplyDeletei need program to sleep the computer