Code::Blocks Forums

User forums => General (but related to Code::Blocks) => Topic started by: evonium on January 14, 2007, 07:25:44 pm

Title: how to stop displaying them?
Post by: evonium on January 14, 2007, 07:25:44 pm
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
Title: Re: how to stop displaying them?
Post by: Belgabor on January 14, 2007, 09:44:08 pm
I don't know for sure, but I think those are only displayed if you run the program from inside C::B.
Title: Re: how to stop displaying them?
Post by: David Perfors on January 14, 2007, 10:05:44 pm
go to Project Properties -> Targets
check out the option "Pause when execution ends"
Title: Re: how to stop displaying them?
Post by: evonium on January 15, 2007, 04:26:11 pm
yeah... checking out the option works. i found the line of code 'system("pause");' at the end of main() works as a substitution.