Problem with Executable Files
I wrote a relativly simple program in C++ in linux and the program runs fine. However, I emailed the .cpp file to my Windows comp and when I compile it in Visual Studio .NET, I get an .exe file that when I run it, it simply pops up a command prompt window for about a second and then just closes it. I remember I used to have this problem a long time ago when I programmed in Windows, but I don't remember what the fix for it is. Could someone please tell me how to get these windows to stay open so I can actually run my programs?
|