P
puzzlecracker
std::cin.ignore(std::numeric_limits<std::streamsize>::max(), '\n');
I have seen it in faq - what does it do, exactly?
I have seen it in faq - what does it do, exactly?
puzzlecracker said:std::cin.ignore(std::numeric_limits<std::streamsize>::max(), '\n');
I have seen it in faq - what does it do, exactly?
Jonathan said:What's the use of having all these books if you don't use them? I'll
give you an hint: The C++ Standard Library by Josuttis, page 609.
Jonathan
puzzlecracker said:std::cin.ignore(std::numeric_limits<std::streamsize>::max(), '\n');
I have seen it in faq - what does it do, exactly?
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.