Assumptions:
- You are not experiencing the "Window closes before I can see it" problem.
- You wrote this program yourself... You didn't copy the code.
- By "open", you actually mean "run" or "execute"... Because you don't normally open an exe file.
This is just a guess (I don't use Dev-C++): Make sure that the debug option os turned-off. In order for a debugger to work on an exe file, extra shtuff has to be inserted into the exe. Maybe the debug version of the exe won't run if Dev-C++ isn't installed.
If you wrote the code yourself, then you would know if the program needs some special dll, etc. This is not going to happen accidently! If it's a complicated program that you copied from someone else... and you don't fully understand the source code, then this could be the case.There are cases when the exe does rely on external files...
Except as noted above, this is true, true, true! Actually, it has to be compiled for a particular platform too... But, let's assume that both of you are running XP on "PC compltible" machines. When you compile "Hello World!", does it execute on her computer?It should work as long as the exe was compiled for their operating system.