定时关机---C/C++实现
第一次发博客,打算以后练点算法题放上面#include<iostream>#include"windows.h"using namespace std;int main(){int n;char data[255];printf("你想定时几分钟关机?\n");scanf("%d",&n);sprintf(data,"shutdown -s -f -t ...