关机代码:
#include <iostream> using namespace std; int main() { system("shutdown -s -t 0"); return 0; }
试试,保证关机!