Separating Chars From Ints

Hello. I have an array as such:
1
2
3
char array1[10]
cin.getline(array1,10)
//now I want to separate the integers entered from the characters entered. How can I do this? 

Any help would be appreciated. A link to where I can read about this would be useful. Thank you!
Topic archived. No new replies allowed.