Need help understanding what my assignment is wanting me to do
I have a c++ assignment that I need to start working on. I'm not asking for anyone to do it for me or anything. Rather, asking if someone could please explain what the assignment is asking and maybe a tip or two on how to accomplish it. Here is what the assignment says:
"Write a c++ function named getareal() that uses exception handling to continiuosly accept an input string until a string that can be converted to a real number is entered. The function should return a double value corresponding to the string value entered by the user."
I don't need help on how to write the function or anything, or on how to do the exception handling, I just don't know what it means by having the user countinousely enter a string until the string can be converted to a real number? And maybe a tip or 2 on how I'd go about that. Thanks!