Posted: Sun Dec 14, 2008 7:39 pm Post subject: C++ Array Combinations
I have 3 arrays.
One array holds numbers 0-9.
Next array holds all lower-case letters in the english alphabet.
And the last letter holds all upper-case letters.
I'm trying to get the users input defining how many digits or characters long they want, then it will generate every possible combination using all 3 arrays. But I need the most resource efficient way. May way is very very horrible and it barely even works.
Enter a maximum length, a minimum length and and what charsets you want (You can add more. I got lazy.) then it will print every possible combination. I hope you can understand and then reapply the knowledge you want.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum