how to read 'enter key being pressed'
Nov 2, 2017 at 4:33pm
I want my
|
std::getline(std::cin,line,'.')
|
to work in such a way that instead of a dot a simple enter key being pressed ends the user input and reads the input.
Nov 2, 2017 at 5:44pm
Topic archived. No new replies allowed.