Input Validation.

Hi people,

I am new to this website and pretty new to c++. So if I make a mistake please go easy.

I want to know how I validate the input of a variable. The input must be a five digit number, no more or no less.

If you can help me, which I'm pretty sure someone will be able to. Thanks for your time and I appreciate it.
Last edited on
http://www.LB-Stuff.com/user-input

All five digit numbers are between 10000 and 99999, inclusive.
Topic archived. No new replies allowed.