Search
 
SCRIPT & CODE EXAMPLE
 

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;
}
Comment

PREVIOUS NEXT
Code Example
Cpp :: Maximum Weight Difference codechef solution c++ 
Cpp :: 41.00 
Cpp :: Madiar loh 
Cpp :: vector keyword in c++ 
Cpp :: two dimensional array A[N,M] with the random numbers from 10 to 90. 
Cpp :: 1822. Sign of the Product of an Array leetcode in c++ 
Cpp :: c++ solver online free 
Cpp :: convert hex to decimal arduino 
Cpp :: c++ error missing terminating character 
Cpp :: C++ Changing Default Value of Enums 
Cpp :: sfml disable message 
Cpp :: what is xor_eq c++ 
Cpp :: can i delete a null pointer in c++ 
Cpp :: std::is_standard_layout 
Cpp :: how to make a defaule conrstrocr in c++ classes 
Cpp :: viewlist exaple win32 
Cpp :: c++ conditional typedef 
Cpp :: PUBG_APIKEY=<your-api-key npm t 
Cpp :: sfml time set 
Cpp :: foo foo little dogs 
Cpp :: c++ correct upto 3 decimal places 
Cpp :: how are c++ references implemented 
Cpp :: semi colon in argument list c++ 
Cpp :: shrek c++ 
Cpp :: how to get a section of a string in c++ 
Cpp :: c++ array access operator 
Cpp :: 271533778232847 
Cpp :: ue4 array copy c++ 
Cpp :: c++ loop through an array 
Cpp :: Jython Java Python 
ADD CONTENT
Topic
Content
Source link
Name
8+2 =