I was trying to understand helper functions in C++ from The C++ Programming Language by Bjarne Stroustrup
. But the book hasn\'t explained anything about it and the
An example could be the input validation function that you will be reusing in the entire main function. Let's say you have a program that asks for the user's age, since age is an integer > 0, you'll need to have a separate function that takes care of the "cin >> users_age;". If the input satisfies the condition statement then proceed, otherwise ask the user to re-enter their age.
This is just an example of "helper function". Correct me readers if I'm wrong. Thanks!