+ 1

What is the use of cin. Ignore() function in c++

C++ function

24th Apr 2017, 9:26 AM
vishal joshi
vishal joshi - avatar
2 Respuestas
+ 7
visit this site for a while, it might answer your question 😁 http://stackoverflow.com/questions/25475384/when-and-why-do-i-need-to-use-cin-ignore-in-c hope this help 😁😁😁
24th Apr 2017, 10:12 AM
Leon lit
Leon lit - avatar
+ 2
It allows to "ignore" a number of characters from the input stream or until you reach an specified character. The number of characters to be ignored is the first parameter (default value is 1) and the specified character to stop ignoring the input is the second parameter (default is EOF).
24th Apr 2017, 12:40 PM
Nelson Urbina
Nelson Urbina - avatar