Hello, everybody!

i have a problem with permutation array.

most algorithm related to permutation, list down all permutation for n!.

however, i would like to generate c++ output as follows:

1234

1243

1342

1324

1423

1432

which is we fix the element '1', and cycle others. and soon. i hope anyone can help me.

thanks