Thanks Karlos! I had actually already tried "int num=scorestr-'0';" but I missed the quotes around the 0 which is subtracted from the character. I thought you were subtracting zero to make it think it was an integer (because it was being used like one), when further reading reveals that you are subtracting the ASCII code '0' to get the value of the digit.
Here is the solution, where "scorestr" is a string containing the player's score:
CODE
for ( int i=0; i{
int num=scorestr-'0';
apply_surface( scorestartpos+(i*12), 10, font, screen, &fontClips[ num ] );
}
Thanks again
--
moto