This is not a compiler specific question, rather it has do with the actual production of .exe files. I'm wondering what exactly is the format of an executable file? Or is there a website that has details about things like this? I'm wondering because I want to create a program that determines the differences between programs (should be same program but different versions) which then outputs these changes into a .exe file that could be run and the needed changes would be applied to the file(s) as necessary based on those changes. I just need to know how to output the .exe file for the end result.