I know that getch is not a standard C / C ++ function, but I like it because you do not need to press the enter key before returning. So I would like to know if there is any equivalent in standard C ++ that has the same effect (doesn't require pressing the enter key)?
I read similar questions on this site, but not one of their answers says whether there is a standard and portable equivalent or not.
source share