Is there any standard function in gcc that is equivalent to getch() so that I can read the input without hitting enter key?
I assume you're using a Linux system and not MinGW because MinGW's gcc supports getch(). You can reproduce the effect of getch() on Linux like [url=http://zobayer.blogspot.com/2010/12/getch-getche-in-gccg.html]this[/url]. Read More
Edited by deceptikon: n/a
Edited by deceptikon: Fixed code tags