What I should really have asked was...
I do not see the examples in my book using cin.ignore() in the examples it provides so I was wondering what use you guys have of it? Just gives a brief section on it.
It is defined as... "When you want to process only partial data you can use the stream function ignore to discard a portion of the input."
So for the code... are we discarding the pay status that the user input? Because later on in the code I output what the user chose. So I am confused about the use of this. I will be more clear next time
cout << "What is your current compensation status? \n"; cout << "(Type 'E' for exempt or 'N' for nonexempt) "; char empPaystatus; cin >> empPaystatus; cin.ignore();