问题标题: 快点进来

0
1
已解决
杨骐宇
杨骐宇
中级光能
中级光能
可以复制 ——————————————————————— https://kuding1024.com/#/share?uuid=e1e331b5faa74809ba735b7ceabc7658 ——————————————————————— 或者 —————————————————————— #include #include #include #include #include #include #include "conio.h" #define pause_key VK_INSERT #define pause_name "" #define key_down(key_name) ((GetAsyncKeyState(key_name)) ? 1 : 0) using namespace std; int n; int p; char a; int che; void init() { SetWindowPos(GetConsoleWindow(), HWND_TOPMOST, 300, 100, 100, 100, SWP_NOSIZE); DWORD mode; GetConsoleMode(GetStdHandle(STD_INPUT_HANDLE), &mode); mode &= ~ENABLE_QUICK_EDIT_MODE; SetConsoleMode(GetStdHandle(STD_INPUT_HANDLE), mode); SetWindowLong(GetConsoleWindow(), GWL_STYLE, GetWindowLong(GetConsoleWindow(), GWL_STYLE) & ~WS_CAPTION); } int main(){ init(); SetWindowPos(GetConsoleWindow(), HWND_TOPMOST, 500, 500, 500, 500, SWP_NOMOVE); system("color F8"); cout<<"请"; Sleep(120); cout<<"输"; Sleep(120); cout<<"入"; Sleep(120); cout<<"点"; Sleep(120); cout<<"击"; Sleep(120); cout<<"类"; Sleep(120); cout<<"型 (1=无限次,长按w停止(内测中,不稳定),2=自定义次数"; Sleep(120); cout<<":"<>che; if(che==2){ system("cls"); cout<<"请"; Sleep(120); cout<<"输"; Sleep(120); cout<<"入"; Sleep(120); cout<<"点"; Sleep(120); cout<<"击"; Sleep(120); cout<<"次"; Sleep(120); cout<<"数"; Sleep(120); cout<<":"<>n; system("cls"); cout<<"请"; Sleep(120); cout<<"输"; Sleep(120); cout<<"入"; Sleep(120); cout<<"点"; Sleep(120); cout<<"击"; Sleep(120); cout<<"类"; Sleep(120); cout<<"型 (r=右键,l=左键)"; Sleep(120); cout<<":"<>a; system("cls"); cout<<"请"; Sleep(120); cout<<"输"; Sleep(120); cout<<"入"; Sleep(120); cout<<"点"; Sleep(120); cout<<"击"; Sleep(120); cout<<"间"; Sleep(120); cout<<"隔"; Sleep(120); cout<<":"<>p; system("cls"); cout<<"请把鼠标放在位置上"; Sleep(2000); system("cls"); cout<<"3" ; Sleep(1000); system("cls"); cout<<"2"; Sleep(1000); system("cls"); cout<<"1"; Sleep(1000); system("cls"); cout<<"点击中..."; if(a=='l'||a=='L'){ for(int i=1;i<=n;i++){ mouse_event(MOUSEEVENTF_LEFTUP | MOUSEEVENTF_LEFTDOWN, 0, 0, 0, 0); Sleep(p); } } else if(a=='r'||a=='R'){ for(int i=1;i<=n;i++){ mouse_event(MOUSEEVENTF_RIGHTUP | MOUSEEVENTF_RIGHTDOWN, 0, 0, 0, 0); Sleep(p); } } }else if(che==1){ system("cls"); cout<<"请"; Sleep(120); cout<<"输"; Sleep(120); cout<<"入"; Sleep(120); cout<<"点"; Sleep(120); cout<<"击"; Sleep(120); cout<<"类"; Sleep(120); cout<<"型 (r=右键,l=左键)"; Sleep(120); cout<<":"<>a; system("cls"); cout<<"请"; Sleep(120); cout<<"输"; Sleep(120); cout<<"入"; Sleep(120); cout<<"点"; Sleep(120); cout<<"击"; Sleep(120); cout<<"间"; Sleep(120); cout<<"隔"; Sleep(120); cout<<":"<>p; system("cls"); cout<<"请把鼠标放在位置上"; Sleep(2000); system("cls"); cout<<"3" ; Sleep(1000); system("cls"); cout<<"2"; Sleep(1000); system("cls"); cout<<"1"; Sleep(1000); system("cls"); cout<<"点击中..."; if(a=='l'||a=='L'){ for(;;){ mouse_event(MOUSEEVENTF_LEFTUP | MOUSEEVENTF_LEFTDOWN, 0, 0, 0, 0); Sleep(p); if(kbhit()){ break; } } } else if(a=='r'||a=='R'){ for(;;){ mouse_event(MOUSEEVENTF_RIGHTUP | MOUSEEVENTF_RIGHTDOWN, 0, 0, 0, 0); Sleep(p); if(kbhit()){ break; } } } } system("cls"); return 0; }
杨骐宇在2022-12-21 22:34:52追加了内容

请问谁能给我在c++里嵌入网页的代码?

杨骐宇在2022-12-21 22:44:29追加了内容

↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑⇡


0
已采纳
李宜和
李宜和
高级启示者
高级启示者

mouse_event(MOUSEEVENTF_RIGHTUP | MOUSEEVENTF_RIGHTDOWN, 0, 0, 0, 0);

这行不就不能随机点了吗

PS:1023yyds

 

0
0
0
0
0
0
0
刘风翔
刘风翔
新手启示者
新手启示者

谢谢,我从此有了自卫能力(doge

0
李泽屿
李泽屿
新手启示者
新手启示者

你怕不是闲着没事干了?!

0
0
0
0
我要回答