📅  最后修改于: 2022-03-11 14:44:53.844000             🧑  作者: Mango
// Restart the computer in Windows OS after the default time (30) seconds.
// This code was done by Abdulellah Alwainany (YEMEN)
#include
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:\\Windows\\System32\\shutdown /r");
return 0;
}