• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

Man wat is the pause command in C++

i mean like, this is very very simple.. but i can't remmber wat is it
u know how u make a simple math program and you want to display the average,
and at the end, you want the it to pause so you can print out the screen,
something like a trap or some sort as "Press any key to continue"
that kind of command 😀
 


<< Do you mean:

getch();
>>



getch() isn't really a pause. It really just waits fro the user to input a character. system("pause") actually runs windows' "pause" command, complete with the "Press any key to continue" message.
 
Back
Top