call to unavailable function system not available on ios 解决方案

编译时报错:call to unavailable function system not available on iOS

原因:iOS11已经将system删除

解决方案:system(command.c_str()); 修改为:popen(command.c_str(), "r");

目前这个解决方案暂时还没发现问题。

原文地址:https://www.cnblogs.com/gamesky/p/7941750.html