Hi, Iam new to vb6 and Iam looking for information on how to generate combinations of numbers for a lottery wheeling system.
Basically a user will input how many numbers they want to use and also how many in each line.
EG they may choose say 10 numbers to wheel into lines of 6 for the UK lotto or 10 numbers for a hotpick game 3 numbers per line.
Example
4 numbers for a pick 3 game.
1-2-3-4
line1 = 1-2-3
line2 = 1-2-4
line3 = 1-3-4
line4 = 2-3-4
any info thanks
Kev
