1 Answer
New Answerbunny 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;
Sololearn Inc.
535 Mission Street, Suite 1591Send us a message