Author Topic: how to stop displaying them?  (Read 4015 times)

evonium

  • Guest
how to stop displaying them?
« 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

Offline Belgabor

  • Multiple posting newcomer
  • *
  • Posts: 90
Re: how to stop displaying them?
« Reply #1 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.

Offline David Perfors

  • Developer
  • Lives here!
  • *****
  • Posts: 560
Re: how to stop displaying them?
« Reply #2 on: January 14, 2007, 10:05:44 pm »
go to Project Properties -> Targets
check out the option "Pause when execution ends"
OS: winXP
Compiler: mingw
IDE: Code::Blocks SVN WX: 2.8.4 Wish list: faster code completion, easier debugging, refactoring

evonium

  • Guest
Re: how to stop displaying them?
« Reply #3 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.