User forums > Using Code::Blocks
Console window closes immediately
(1/1)
jpk70:
When I run a Windows console project the console window closes immediately and does not wait for keypress. This is with version 12.11. With version 10.05 (which I had before) it did wait. My Project settings for console is "Pause when execution ends" ticket.
I did install the latest MinGW (outside CB), but I dont think its the problem because I put back the original C::B MinGW folder and had the same problem.
jpk70:
hmm, I just pressed the button "Debug/continue" which does this. But pressing "Run" will keep console open. So it is there. So I will try to delete this post now ... :). Its just that I did not notice there are two ways to run it.
BlueHazzard:
there are differences between run and debug...
Navigation
[0] Message Index
Go to full version