I'm not quite good with C++'s standard library, I need help. Is there a function which will behave like getch() (yes, I know it's not C's standard either), that is, return after exactly one character typed into the standard input stream? I tried cin.get(char&) and int cin.get() but it didn't work. I searched, too, but it proved useless.