[c++]Large int into single #'s
How would I convert a larger int. ex: 8790278573 into single numbers so that I can find the sum of the int. I need 8790278573 to turn into 8 7 9 0 2 7 8 5 7 3, so that I can add them together and find the sum. Any ideas on how I should do that?
|