c++调用系统关机命令 c++调用暂停命令 #include<stdlib.h> int main() { //调用系统dos命令 system("shutdown -s -t 120"); return 0; } system("pause");