badapple :
The logical approach to this would have the user input a number(string), after the string has been stored, get the lenght of the string and stroe it. Now, create a function that take the number of characters (or digits in this case), and creates a string (or char) for every character(digit). So now we've got a bunch of characters that need to be converted to 'int'. Honestly, I totally forget the API function that converts the string to int (something like atoi_64(*string). but anyways once converted into "int". You can change or jirate them any way you please. To find that function, refer to "msnd.microsoft.com" .
sandman
