Selection of 5 points from n points or nC5

I want to select 5 points from n given points exhaustively. in other words i want to do nC5 in C++ but not getting a simple solution for this. Please reply with a solution
Can you elaborate please? This isn't enough information.
If you want permutations, you can use std::next_permutation. If you want combinations, you need
to write the code yourself.
Topic archived. No new replies allowed.