User forums > General (but related to Code::Blocks)

how to stop displaying them?

(1/1)

evonium:
i'm just now finished with a simple console application, anyone know how to disable displaying the returned value and execution time in a console application window ? i just poorly did not find corresponding build options

Belgabor:
I don't know for sure, but I think those are only displayed if you run the program from inside C::B.

David Perfors:
go to Project Properties -> Targets
check out the option "Pause when execution ends"

evonium:
yeah... checking out the option works. i found the line of code 'system("pause");' at the end of main() works as a substitution.

Navigation

[0] Message Index

Go to full version