鲫鱼快速杀死法
  • 板块灌水区
  • 楼主yeyanhong2023
  • 当前回复11
  • 已保存回复11
  • 发布时间2024/10/7 16:58
  • 上次更新2024/10/7 19:39:42
查看原帖
鲫鱼快速杀死法
1352355
yeyanhong2023楼主2024/10/7 16:58

背下关键语句system("taskkill /f /im studentmain.exe");不断循环就好了

#include <bits/stdc++.h>
#include <time.h>
#include <windows.h>
using namespace std;
int main()
{
	cout<<"即将开始,开启后请勿关闭程序,程序需一直开启"<<endl;
	cout<<"程序原理为通过不断关闭进程来停止鲫鱼"<<endl; 
	Sleep(5000);
	while(1)
	{
		system("taskkill /f /im studentmain.exe");
	} 
	return 0;
}
2024/10/7 16:58
加载中...