I have to program a parser that parses expressions. The input is a string (an expression). I have to make a function called get_number. It checks if there are numbers in the string. Also to simplify the string, i have to use a pointer that points to the input string. So i have to check if there are numbers in the string, by using the pointer. If there is at least one number in the string, i have to convert that to a number in the ASCII representation.
If somebody knows how to do it, I would love to know.