I made a program in Visual Studio that reads an End-Of-File signal. When you run in the debug mode, sending the signal closes the program. Running without debugging with ctrl + F5 means you can send the signal. However, when I compile in release mode and run the exe it opens it in debug mode (or the same as the command line when you run as debugging) and the program closes when you send the EOF. How do I compile so you run it without debugging?