直接获取system的返回值。 1、system函数:原型:int system(const char * command);功能:执行 dos(windows系统) 或 shell(Linux/Unix系统) 命令,参数字符串command为命令名;说明:在windows系统中