c++

please idon't understand what this statement actually do
(cin.ignore ();)

closed account (2LzbRXSz)
cin.ignore(); ignores return characters, or an amount of characters that you specify.

You can read more about that here:
http://www.cplusplus.com/reference/istream/istream/ignore/
http://www.cplusplus.com/forum/beginner/9148/
http://stackoverflow.com/questions/25475384/when-and-why-do-i-need-to-use-cin-ignore-in-c
thanks alot
closed account (2LzbRXSz)
No problem:)
Topic archived. No new replies allowed.