+ 1

Can anyone help me understand the cin.get(); statement

I've been using it in my c++ code but not really sure what it does

7th Apr 2021, 11:42 PM
Caroline Natasha Murenga
2 odpowiedzi
+ 1
cin.get gets characters from standard input. Here is fairly official documentation on the method: https://www.cplusplus.com/reference/istream/istream/get/
8th Apr 2021, 2:02 AM
Josh Greig
Josh Greig - avatar
0
Thank you
8th Apr 2021, 8:51 AM
Caroline Natasha Murenga