Hi everyone
I'm ultra newb.
I looked through this board for permutation of numbers but everyone wanted permutation of characters and those seemed to be the example..
I REALLY need some sample code to work on that can give me permutations of an int array, in my case 1-9. I would LOVE if someone could help me come up with an algorithm to do this or a way. I really don't want to use the STD or next_permutation, SIMPLE CODE please, that doesn't require memory allocation, or pointers. Nested loops, and recursive functions would be nice.
THANKYOU VERY MUCH (in advance)
ARTHUR