使用命令 system( taskkill /f /im QQ.exe); 即可。
使用命令 system("应用程序的位置");
头文件: stdlib.h
编译环境:可以用 此工具完成。
参考文章:http://www.2cto.com/os/201209/157893.html