Base 62 counter (sort of)
Hi
I have a char[62] (arrBase) initialized to some specific characters. I need to output every 20 letter or less combination possible from them, similar to counting up using base 62.
So the output would be something like
arrBase[0], arrBase[1] ... arrBase[62]
then
arrBase[0]arrBase[0], arrBase[0]arrBase[1], ... arrBase[0]arrBase[62],
and so on until I finally have 20 elements of all arrBase[62].
Anybody know how to do this? :)
Thanks much!
|