c++ error proofing

I am writing a c++ project. In it I need to have a user input a name, then a float value, and then a two or three char name or abbreviation. I have the program working fine, but ONLY with correct input. I need help with error proofing so the prog doesn't go into an infinte loop, etc. I have to make sure the name either matches a list within the program or prints an error msg (the same thing with the floats and other char data. Thank you in advance for any help. lagunasun
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!