If you run a simple program and look at the output screen you will see this:
Hello World!
Process returned 0 <0x0> Execution time : 0.023s
Press any key to continue...
I personally dislike the Process returned line with all that unnecessary information cluttering up the screen.
Hello World!
Press any key to continue...
This is all that is needed.
Is there a way to prevent Codeblocks from printing that other stuff?
Porject->Settings->Build targets->Pause when execution ends
The box need to be checked. That does absolutely nothing to remove the stuff which I am referring to. If there is indeed a way to clean up the output screen somebody please post but I'm thinking there is none.
QuoteThe box need to be checked.
Why? If you do not check this box none of the text you are complaining is shown...
He needs it to be checked because without some effort in his side the window closes when the program ends.
Well, then he should describe the problem he has and not simply write
QuoteThe box need to be checked
, because this is exactly the box he needs to uncheck to get the cleanest, off all clean outputs...
I found a way. Untick the box and include <conio.h> Then include getch(). Makes the output window much cleaner the way I like. I wonder how easy or hard it is to set up Codeblocks to use wxWidgets to make Windows programs.