How can i use getch in c++ | Sololearn: Learn to code for FREE!

+4

How can i use getch in c++

c++

7/6/2019 4:57:51 PM

bunny

1 Answer

New Answer

+7

bunny Don't use getch() in C++ it is non-standard function. either use getchar() or use cin.get() function in C++ char c = getchar(); printf("%c", c); char c = cin.get(); cout << c;