I have a simple command line program in C++ that I have written in Xcode, that I want to compile so that it can run in windows. The only libraries I'm using are #include <iostream>
and #include <stdlib.h>
Use a cross compiler. I recommend GCC with homebrew. https://github.com/mxcl/homebrew/wiki/Custom-GCC-and-cross-compilers
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.