I'm having trouble coming up with logic to generate all the possible unique combinations of 0-9 for X amount of digits.
For example, if I wanted all the unique combinations for a total of 5 digits, it would generate them using 0-9. (01234, 01235, etc.)
If you have any easy and creative solutions to my question, I would love to hear them. I have to implement it in MASM, but any solutions using C++ should not be an issue.