Can anyone help me? I'm trying to do this:

Code:
cin >> integerNumber
Let's suppose the user entered '2012'. So, I want to output the third number in this int, in this case, the '1'. How I do that?

Thank you