Ok, I'm not sure exactly how to explain this but I'll try my best...
1. a function passes an unsigned in the form functionName(unsigned number)
2. I store it in an integer, i.e. int store = number; (and say number is: 1965)
3. I convert it to char-> char converted[5];
sprintf (converted, "%d", store);
My question is I want to seperate say 19 from 1965 and store it in an integer, and 65 in another integer, how do i go abouts. BTW, I'm thinking there would be a more direct way than doing all these conversions? Thanks