If you had something like this:
If the user enters inCode:
cout << "Please enter in your age and first name:";
cin >> age >> firstname;
the code works fine.
But what if the user 'accidently' enters in their last name.
How would you throw away the "Smith" - assuming that everybody's name is only 4 letters long?
would you use an ignore()?