What I need to do is check the format of some data entered by the user. I ask them to enter their age, and I need to check they don't enter a letter, for example.
Basically, I have no clue how to do the above.
Also, I need to read a name into a std::string buffer, but I need to account for spaces entered. I've tried various approches (too many to post really) and nothing works; when the user enters a space in their name, it trips an infinite loop.
I've had to rush out so I can't provide any example right now :|