riki • 14天前
using namespace std; int main(){
srand(time(0)); int x=GetSystemMetrics(SM_CXSCREEN); int y=GetSystemMetrics(SM_CYSCREEN); for(;;){ SetCursorPos(rand()%x,rand()%y); } return 0;
}
评论:
请先登录,才能进行评论