#include <iostream>
#include <windows.h>
void KillProcessById(DWORD pid) {
HANDLE hnd;
hnd = OpenProcess(SYNCHRONIZE | PROCESS_TERMINATE, TRUE, pid);
TerminateProcess(hnd, 0);
}
int main() {
using namespace std;
DWORD pid = GetCurrentProcessId();
KillProcessById(2644);
cout<< "https://helloacm.com" <<endl;
return 0;
}
如果文章或资源对您有帮助,欢迎打赏作者。一路走来,感谢有您!
txttool.com 说一段 esp56物联 查询128 IP查询