恶搞小程序--鼠标乱飞

纯属娱乐

#include<stdio.h>
#include<windows.h>

int
main(int argc, char *argv[])
{

    int x = 0;
    int y = 0;

    while (1) {
        x = rand() % 333 + 500;
        y = rand() % 222 + 500;

        SetCursorPos(x,y);
    }

    system("pause");

    return 0;
}

破解方法:Ctrl+Alt+Delete启动任务管理器-->Alt+E结束相应任务

猜你喜欢

转载自blog.csdn.net/tyustli/article/details/86001997