It seems to me that if the program is compiled (without errors) you can run it everywhere (if there are no OS specific stuff in the code); I guess you need help with how to compile the programs you have written...
On linux usually the compilers are shipped with, but in case look for gcc...
In windows I do not know if there are free distributions, but I guess so, try to search on the net...
Comment