Hello,
I need code this below but I need something like a getchar() that doens't wait for the "return" from the user. How can I implement it? (it only wait for a key pressed)
Code:int ch; while ( (ch = getchar() ) != '\n') { cout << "ch " << ch << endl; }