So I've got this program that I'm writing that controls various things happening on screen. Nothing fancy, just an ascii interface of sorts.
Anyway, I've been using the fgetc and fgets commands to read input from stdin to make things happen, but now I would like to not have to press enter each time I want to do something. I would like to be able to simpley hit a button and have some reaction.
I'm sure that there is a standard function for this, but I don't know what it is.