equivalent to getch in c++
now, I know what you're thinking... "this is going to be another one of those 'how can I get the functionality of system("pause") without calling system()?' threads....
well, you're almost right.
Am I the only one who thinks it is a pretty big oversight not to have the ability to read a single character from an std::istream, without waiting for a delimiter? seriously, how hard would it be to add a function which, when called, it would sit and wait until there was at least one character available in the input buffer and then it would remove that character from the buffer and immediately return its value, regardless of whether a delimiter was encountered. I really don't understand why it is not a part of the standard library. it would be such a useful function to have, and would certainly see more use than many other features of the c++ standard library.
just looking for thoughts/opinions on this.