Not having to hit enter after entering a character via CIN
My program is running smoothly, but there is something that annoys me about it.
cin >> num; // requires the user to hit [enter] afterwards
Is there a way to make it such that they just have to hit a single key ('y' for example) and it will accept that char value without needing the enter key?
I have tried cin.getline(), but I don't know what I would use for arguments, as that function is generally used when a known character will be entered at the end of the string.
I am using Bordland C++ Builder 5.0.