How to remove execution related text from output window of Code::Blocks

前端 未结 2 1455
迷失自我
迷失自我 2021-01-15 03:22

I am using Code::Blocks for programming in C. When I compile my program and execute it, the output window (i.e.. Windows Command prompt) displays some execution related text

2条回答
  •  傲寒
    傲寒 (楼主)
    2021-01-15 03:57

    It only appears when you execute your code from the compiler. It does not need getch() function to stop the screen.

    But if you execute its .exe file directly, outside the compiler, you will notice that annoying message 'Process returned 0 (0x0) execution time : 3.920 s' doesn't show anymore. Moreover, you will need getch() function to stop the screen.

提交回复
热议问题