Whenever I compile and run a programme, a black screen appears showing what the programme has done. But before I can even read a single word on that screen it just vanishes immediately.

Some one told me that this might be due to very fast processing speeds of contemporary CPUs.

So is there any way I can at least see what my programme has done i.e. can someone tell me how to make that black screen not go away immediately.

I have heard that you can type getch() at the end of your programme, which means that the output screen does not go away until you press a character.