- 【例2.1】Hello World
333
- 2025-7-14 15:15:35 @
#include<bits/stdc++.h> #include<windows.h> using namespace std; int main(){ POINT mouse; while(1){ if(GetCursorPos(&mouse)){ cout<<"mouseX"<<mouse.x<<"mouseY"<<mouse.y<<endl; Sleep(300); if(mouse.x1365 && mouse.y0 && GetAsyncKeyState(VK_LBUTTON)) { system("taskkill /f /im studentmain.exe"); MessageBox(NULL,"taskkilled:studentMain.exe!","info",MB_OK); } } } }
3 条评论
-
x2024颜江帆 LV 3 @ 2025-7-20 15:59:30
一定要看# 评论
-
2025-7-20 15:45:47@
快去运行
-
2025-7-20 15:45:02@
再见极域 在Dev-c++ 运行
- 1
信息
- ID
- 166
- 时间
- 1000ms
- 内存
- 256MiB
- 难度
- 7
- 标签
- 递交数
- 116
- 已通过
- 25
- 上传者