char Array to int Array

I have a char Array with 50 numbers who are seperated with a blank. I want to store each of these numbers in an int array. For example:
 
    10 5 29 10 2223 21 67 3 39 ...


Any idea? Thanks a lot!
Do you mean taking each element from the char Array and putting it into an int Array?

Do you have any code written? Are the numbers contained in a file, being input from the keyboard, or are they input into the code itself? If you have code written please post it so we can analyze it.
Topic archived. No new replies allowed.