C++使用system建立进程

一 点睛shell system的原型以下, 其做用是运行以字符串参数的形式传递给它的命令并等待该命令的完成。其做用等价于在shell中执行命令sh -c string。函数 #include <stdlib.h> int system(const char *string); 二 代码code #include <stdlib.h> #include <stdio.h> int main()
相关文章
相关标签/搜索