Subj : Re: cards To : comp.programming From : Richard Heathfield Date : Thu Oct 06 2005 12:10 am Roger Willcocks said: > wrote in message > news:1128448274.935279.78050@g47g2000cwa.googlegroups.com... >> Let's say you want to iterate through all of the possible combinations >> that occur when you choose 7 cards from a fifty two card deck. Anyone >> know the best way to do this? > > Are the same cards, but in a different order, a different combination? No. They are a different permutation, but he specifically asked for combinations, not permutations. -- Richard Heathfield "Usenet is a strange place" - dmr 29/7/2005 http://www.cpax.org.uk email: rjh at above domain (but drop the www, obviously) .