so I have this c++ homework which wants me to take a text input like "north6east7wes t8"(the string follows the "direction+inte ger order) and have an input check. if the text does not have any integers it ought to give a warning message.

and in another function I should take the integers out of the text (which I have no idea how to do) and convert them with atoi (which I could do).

I hope I explained it...