C++实用的程序
2025-08-10 10:29:31
发布于:浙江
#include<windows.h>
#include<ctime>
#include<conio.h>
using namespace std;
int main(){
int x=GetSystemMetrics(SM_CXSCREEN);
int y=GetSystemMetrics(SM_CYSCREEN);
srand(time(0));
while(114+514+(1919810-19810)/100000*2<=666){
getch();
SetCursorPos(rand()%x,rand()%y);
}
return 0;
}
这里空空如也
有帮助,赞一个