When I try to build and run a new program in Code::Blocks, the console window pops up blank and I have to click the exit button to stop it. It does this for any new project I have tried including "Hello world". Oddly it works normally for any older projects that I have.
I looked in toolchain executables for both my new projects and the old and everything is identical. It's not a problem with my code because if I copy and paste it into an old project file, it runs as it should.
I'm running Code::Blocks 13.12 on Windows 10.
Thanks.