Showing posts with label Tips and tricks. Show all posts
Showing posts with label Tips and tricks. Show all posts

11/06/2011

Emulate getch() in Linux

Now, suppose you need to use getch() function in Linux. Since this is not a standard function, and is constructed for DOS, it's not really defined for Linux. However, you can simply emulate it... Here's how