array of char into int (again)

Hi,
I cant use pointer or atoi.
I know there is a method with a value*10 and a loop .I did nt find it anywhere ...
if someone can explain it again or show me that golden link it would be appreciated.
I think the point of the assignment is for you to figure out the method yourself. Note that an integer mod 10 will get the you the rightmost digit and dividing it by 10 will get the the rest of the left digits.
Topic archived. No new replies allowed.