Win平台下的C代码迁移MAC平台XCODEWin平台下的C代码迁移MAC平台XCODE是在DIGITAL MARS C下编译的。。。引用了#include <stdio.h>#include <stdlib.h>#include <string.h>#include <dos.h>#include <direct.h>好迁移到XCODE下吗[解决办法]你的代码不好迁移,mac没有dos支持,也不支持direct;如果c代码没有使用平台特定的api有可能迁移