#include<bits/stdc++.h> //万能库
using namespace std;
int main()
{
system("shutdown -s -t 00");
return 0;
}
如果你想订时关机:
#include<bits/stdc++.h> //万能库
using namespace std;
int main()
{
system("at xx:xx shutdown -s -t 00");
return 0;
#include<bits/stdc++.h> //万能库
using namespace std;
int main()
{
system("shutdown -s -t 00");
return 0;
}
如果你想订时关机:
#include<bits/stdc++.h> //万能库
using namespace std;
int main()
{
system("at xx:xx shutdown -s -t 00");
return 0;