0
已解决
董子墨
中级天翼
中级天翼
#include<bits/stdc++.h>
#include<windows.h>
using namespace std;
bool flag;
int main(){
cout<<"说明:\n"
cout<<"按空格键记录你预测提交键的位置,并将鼠标移到选项的位置。\n";
cout<<"在看到提交键出现时,按下回车键,提交。";
POINT p;
while(1){
if(GetAsyncKeyState(VK_SPACE)){
GetCursorPos(&p);
while(1){
if(GetAsyncKeyState(VK_RETURN)){
mouse_event(MOUSEEVENTF_LEFTDOWN|MOUSEEVENTF_LEFTUP,0,0,0,0);
SetCursorPos(p.x,p.y);
mouse_event(MOUSEEVENTF_LEFTDOWN|MOUSEEVENTF_LEFTUP,0,0,0,0);
}
}
}
}
return 0;
}
0
0
0
0
席清源
修练者
修练者
There is a semicolon missing in the sixth line.
6行目にセミコロンが少ない
여섯 번째 줄에는 세미콜론이 적습니다
0
0