I wonder if anyone can advise. I've programmed in C and various other languages for around 4 years now, generally writing programs on the operating system they're for. Recently I wrote an encryption program on a Mac (Spec; Snow Leopard using XCode) which compiled, ran and created a Windows exe correctly, however, when attempting to run the same source files or the exe produced on a Windows machine it just errored.
I realise this may be an silly question, but is there something that im missing? a cross compatibility patch or extra library needed etc?
Thank you all for your time and advice,