A quick look at the STL function next_permutation(), with a practical example that demonstrates how I used it to solve a real-world problem.

continue reading.....