#include
#include
#include
using namespace std;
int main()
{
vector vectorObject;
int i;
for(i = 0; i < 3; i++)
vectorObject.push_back('A'+i);
cout << "All permutations of 3 characters:\n";
do {
for(i = 0; i < vectorObject.size(); i++)
cout << vectorObject[ i ];
cout << endl;
} while(next_permutation(vectorObject.begin(), vectorObject.end()));
return 0;
}