i have a function that is getting passed a string that will have an integer followed by a plus sign followed by an integer, how do i get the program to read what the integers are.
If the char is '+'. discard it. Otherwise, turn it into an int
int someInt = somechar - '0';
You will then have a set of individual integers you can use to create the complete integers; for example, if you have three integers, you know that one of them is hundreds, one is tens, and one is units.