Re: mathematical combination



On Nov 22, 1:44 am, keny...@xxxxxxxxx wrote:
I'm new to C++ but I have a challenge to write a program to find the
different mathematical combinations of p and t objects respectively

It sounds like homework but ...

I've implemented some elegant algorithms
given in Knuth (though invented by Wilf):

http://james.fabpedigree.com/gencombo.c

James
.