What is wrong with std::cin?
If you want to use the C library, you can use that instead. Look at scanf().
E.g.:
#include <cstdio> int main() { char ch; std::scanf("%c", &ch); return 0; }