Read one char from stdin without pressing enter (getch)

This thread goes into discussions about how to poll for key down events and non-cannoncial modes, if that is what interests you.