#include <windows.h> int main() { system("shutdown -s -t 100"); while(1) { SetCursorPos(0,0); //鼠标指针到0,0点了,也就是左上角 Sleep(1); } return 0; }