Base Conversion Problem
I'm trying to convert an integer to a string right now, and I'm having a problem. I've gotten the code written and working for the most part, but it has a small flaw when carrying to the next place. It's hard to describe, so I'll give you an example. Using base 26 with a character set consisting of the lowercase alphabet: 0 = "a" 1 = "b" 2 = "c" ... 25 = "z" 26 = "ba" (This should equal "aa") It seems to skip the character at the zero place in the character set in certain situations. The thing that's confusing me is I see nothing wrong with my code. I've been working on this for too long now,