Permutation combinations in Standard C++

Recently one of my colleagues and also another user in MSDN forum asked a question related to this. The question is as follows… If I have a string vector with few elements like “Nibu” “Babu” “Thomas”, how can I get all combinations of these three strings? Results should look like… “NibuBabuThomas” “NibuThomasBabu” “BabuNibuThomas” “BabuThomasNibu” “ThomasNibuBabu” […]
Continue reading…