C++ FAQ From Marshall Cline: Bjarne Stroustrup, Herb Sutter, Andrei Alexandrescu, Pearson / Addison-Wesley Publishers and I collaborated to create a new C++ Super-FAQ! It's a team effort, with huge contributions from each of us and with amazing support from dozens of brilliant editors. The result is "awesomer" than ever! I originally wrote/published the FAQ in 1991 and now look forward to this new phase - and to continue working with it for another 20 years!

On a personal note, I'm at Oculus VR and it is amazing - fabulous people doing fabulous work. We're hiring more fabulous people so write me if that's you!

FAQ: How can I get std::cin to skip invalid input characters? (in the new Super-FAQ)


It's in Section: Input/output via <iostream> and <cstdio>: