title: CodeBlock opens 2 console windows when executing a prog
body: <p>I have recently installed Code Blocks and I'm using it for C++ programming. </p>
  
  <p>I have written a basic Hello World program and when i run the program, 2 console windows are opening instead of 1. If there's only output then the 1st console closes after showing the output and then the 2nd window stays open. My main problem is when I'm trying to take in some input and execute some more stuff. The 1st window works as it should, going to the end of the prog, closes and then the 2nd window again starts from the beginning.</p>
  
  <p>I'm not able to close the 1st window and it's kinda irritating running through the program twice. I tried searching on the net, but no one seems to have faced this issue before. </p>
  
  <p>Any advice is really appriciated.</p>