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");

 

 

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

posted @ 2017-12-01 13:22  冷夜 - 网游编程技术  阅读(1304)  评论(0编辑  收藏  举报