How can I skip getch press enter key to continue with function or command

Need to skip getch press enter key with function or terminal command
Use an if statement
1
2
if (! should_skip_getch)
  x = getch();
Last edited on
getch is silent, the press enter to continue is usually an indication that you ran it from inside VS without a console open and it has run to completion.
Topic archived. No new replies allowed.