Function to replace getch()

ash159 (2)
I want my program to pause in between and wait for user to press any key in order to continue. I don't wish to use the getch() function. I neither want to use system("pause"). I can't use cin.get() as it take only 'Enter' in order to proceed and not any other key. So, what are the other alternatives that I can use?
Thank you..
Thumper (376)
http://cplusplus.com/forum/beginner/1988/

This is such a common question that this post has been stickied. That should help you out.
Darkmaster (494)
thats not what he asked :P
Thumper (376)
@Darkmaster
But it answers his question.
ash159 (2)
I know how to hold the screen and wait for user to press key in order to continue.. I know these three ways.. But want to know some other way than these..
Registered users can post here. Sign in or register to post.