+ 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
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/
0
Thank you