IcyFlame IcyFlame - 23 days ago 5x
C++ Question

system("pause") clarification

When i use system("pause"), then a line "Press any key to continue..." shows up on the screen.

This is iritating and makes reading the output quite cumbersome.

Is there some way to stop this from coming?


Do you mean that you want to press any key to continue but not to display the "Press any key to continue" on the screen? Try this getchar(); this will capture one character typing from keyboard and continue.