Is there a reason why I can't open a .exe file with fopen? I've got a function that's supposed to copy some files. It's copying all kinds of files fine (e.g. .doc, .htm, .asm, .inc). But I get an error when it tries to open a .exe file.
I'm working on WinXP, and my program runs from the command line. If fopen is not supposed to be able to open .exe file, what can I use? Thank you.