I used Code Blocks to generate an exe file from c program. When I open the exe file it opens normally and shows some text that I included in program. But if I give values to program and hit enter it will close automatically. It works fine if I run the program I Code Blocks.
Tell me is there any way building executable that runs fine in window or not? Your kind reply will be very helpful. Thank you.