What does the below mentioned function do? Does it have any parameters and if it does, what are they what do they mean? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

What does the below mentioned function do? Does it have any parameters and if it does, what are they what do they mean?

C++

4th Jul 2018, 7:55 PM
Victor Maoya
Victor Maoya - avatar
2 Answers
+ 3
Whenever you read or write something in C++, the information is stored in a stream. ignore() is able to manipulate such a stream by discarding characters in the stream. Maybe this article can help you: http://www.cplusplus.com/reference/istream/istream/ignore/
4th Jul 2018, 8:07 PM
Shadow
Shadow - avatar
+ 1
Thanks
5th Jul 2018, 3:01 PM
Victor Maoya
Victor Maoya - avatar