Code::Blocks Forums

User forums => Help => Topic started by: Teemu on May 17, 2016, 04:40:32 pm

Title: Console stays blank after compiling and running.
Post by: Teemu on May 17, 2016, 04:40:32 pm
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.
Title: Re: Console stays blank after compiling and running.
Post by: BlueHazzard on May 22, 2016, 11:21:33 pm
http://wiki.codeblocks.org/index.php/FAQ-Compiling_%28general%29#Q:_I_get_a_blank_.28black.29_terminal_window_on_windows
Title: Re: Console stays blank after compiling and running.
Post by: Teemu on May 24, 2016, 01:00:16 pm
Thanks! Works like a charm now. Sorry if it was a common problem.