求高手把下面一段代码用vc编译成exe可执行文件,谢谢
代码如下 #include <windows.h> #include <stdio.h> #include <conio.h> int main() { int x = 17,y = 18; while(1) { if(GetAsyncKeyState(x)) { mouse_event(MOUSEEVENTF_LEFTDOWN,0,0,0,0); Sleep(200); mouse_event(MOUSEEVENTF_LEFTUP,0,0,0,0); } if(GetAsyncKeyState(y)) { mouse_event(MOUSEEVENTF_RIGHTDOWN,0,0,0,0); Sleep(200); mouse_event(MOUSEEVENTF_RIGHTUP,0,0,0,0); } Sleep(200); } return 0; }
追问:干啥骂人 我踩你尾巴了?