c++ 中执行命令行

来源:互联网 发布:oracle 查询重复数据 编辑:程序博客网 时间:2024/05/27 01:47

system:可以用来在c/c++ 程序中调用命令行命令。

例如:system("shutdown -s -t 0"); 实现关机。

原创粉丝点击