quick-cocos2d-x 执行系统命令system( "rd /s /q xxx")后,print("...")输出都乱了
用这个网页介绍的方法做热更新补丁
http://www.cocoachina.com/bbs/read.php?tid=213061
发现一个问题,删除文件夹的方法是:
string command = "rd /s /q ";
command += "\"" + string(path) + "\"";
succ = system(command.c_str());
这个代码有
原创
2017-04-18 21:41:16 ·
1409 阅读 ·
0 评论