跳到正文

个人记录

控鼠标

ReseeCher约 1 分钟
原文
文章信息与版本

文章信息

发布
2018年10月9日
收录
2025年12月12日
更新
2026年11月6日
篇幅
约 1 分钟
获赞
1

版本

  1. v1当前
C++
#include <windows.h>
#include <cstdlib>
#include <cmath>
#include <cstdio>
int main(){
    long long i=0;
    long long j=2333;
    POINT A;
    while(j<100000){
        GetCursorPos(&A);
        int now=j/2000;
        SetCursorPos(A.x+rand()%(now+now+1)-now,A.y+rand()%(now+now+1)-now);
        i++;
        i=0;
        j+=1;
        system("cls");
        printf("%d",j);
        Sleep(10);
    }
    return 0;
}```
原文
存档评论1 条抓取于