Hi, can anyone tell me what does cin.ignore() do and for?
Hi, can anyone tell me what does cin.ignore() do and for?
http://www.cppreference.com/cppio/ignore.html
You may want to put a bookmark for the cppreference.com site, as it's handy for all sorts of this type of question.
--
Mats
Compilers can produce warnings - make the compiler programmers happy: Use them!
Please don't PM me for help - and no, I don't do help over instant messengers.
thanks a lot mate.