Hey,
I have this problem with Windows 10 laptop. I think it wasnt there before windows 10 update but Im not sure if it was the update which caused this.
When I do any basic program (hello world) with codeblocks, it compiles fine but when I run it console stays blank and I have to terminate it by closing window manually. Also program stays active after that in somewhere background and I have to boot to shut it down properly.
Reinstalling didnt help. Im using mingw with basic settings. At some point I made some changes to settings to try SDL libraries, but I dont remember when this problem accured first time exactly.
Thx for replies.
Edit: Im 99,99% sure that its not bad scripting which causes this problem.