Implementierung von Permutation, Combinations und PowerSet in C ++ [duplizieren]

Diese Frage hat hier bereits eine Antwort:

Kombination und Permutation in C ++ 4 Antworten

Ich suche die Implementierung von Permutation, Combination und PowerSet mit C +++