+ 1
Cin.ignore()
Hi, i don't understand cin. ignore() ...
2 Respuestas
+ 3
Well, cin.ignore() is usually put after an input so that it won't skip tp the next line. Otherwise, it will go to a new line, as it normally does. Also, it can be used to ignore certain characters in an input.
0
how to use this operation. Please give an example. Thanks