I'm still new to C++ but got a wee challenge to do. A simple program that has a wee database in it. But, now I'm trying to get it so that when a user types in data, if it is less than or greater than 5 chars and then return is pressed it gives an error message and the option to retype it in. What's the best way about going about this ? I've been trying for a couple of hours now and I'm totally stuck !