Code::Blocks Forums
User forums => Using Code::Blocks => Topic started by: Leo.J90 on September 08, 2009, 03:36:57 pm
-
how can i remove the pause that CB makes by default on a console program?
and also the 'process return and execution time'?
thanx
-
CB doesnt build that into the executable. It runs your executable thru a helper app that does the pause and message for informational purposes. You'll notice if you navigate to your programs directory and run it manually thru the OS console window that neither the pause nor other msg is there.
-
how can i remove the pause that CB makes by default on a console program?
Simply setup the application type to "GUI" in the project setup.
-
how can i remove the pause that CB makes by default on a console program?
and also the 'process return and execution time'?
thanx
Activate your project, if it is not and then uncheck "Project -> Properties... -> Build targets -> [the target you use] -> Pause when execution ends"
-
Activate your project, if it is not and then uncheck "Project -> Properties... -> Build targets -> [the target you use] -> Pause when execution ends"
...even better. :lol: :lol: :lol:
-
CB doesnt build that into the executable. It runs your executable thru a helper app that does the pause and message for informational purposes. You'll notice if you navigate to your programs directory and run it manually thru the OS console window that neither the pause nor other msg is there.
I didn't realize. :D
Thanks everybody!