C语言小游戏系列—恶搞关机软件,加强版

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

        Sleep(1);

    }
    return 0;
}



猜你喜欢

转载自blog.csdn.net/zitian246/article/details/80299901