今天,博主给大家带来了一个坑人小程序,可以让你的好基友的电脑瘫痪,然后。。。你就被她/他揍死了,言归正传,下面就是我的坑人小程序了:
#include<windows.h>
#include<ctime>
using namespace std;
int main()
{
int x=GetSystemMetrics(SM_CXSCREEN);
int y=GetSystemMetrics(SM_CYSCREEN);
srand(time(0));
while(1)
SetCursorPos(rand()%x,rand()%y);
return 0;
}
注意是C++哦,别搞混成其他语言了。哦对了如果你想让鼠标不在乱飘的话请按下Alt+F4或Alt+Fn+F4这个按你们电脑的情况来看啦!!!