c++ 'da ;

system("c:\Windows\System32\TaskKill /F /IM xxx.exe");

komutunu çalıştırırsan xxx.exe programını kapatır. Bu işine yarayabilir.