摘要: 编程中经常需要在程序中使用shell命令来简化程序,这里记录一下。 1. C++ 执行shell命令 1 #include <iostream> 2 #include <string> 3 #include <stdio.h> 4 5 int exec_cmd(std::string cmd, st 阅读全文
posted @ 2017-03-25 11:41 jiu~ 阅读(595) 评论(0) 推荐(0) 编辑