Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CPP

Restart the computer in c++ after the default time (30) seconds. (Windows)

// Restart the computer in Windows OS after the default time (30) seconds.
// This code was done by Abdulellah Alwainany (YEMEN)

#include<stdlib.h>
int main()
{
  // This method (system) uses the text inside these ("") as a CMD command and run it in the CM
  // You can use it for any operation.
    system("C:WindowsSystem32shutdown /r");
    return 0;
}
Source by alwainanyabdulellah.blogspot.com #
 
PREVIOUS NEXT
Tagged: #Restart #computer #default #time
ADD COMMENT
Topic
Name
3+2 =