threadhead
01-11-2003, 08:22 PM
hey.
my question is about programming in C.
lets assume that a user inputs the letters "abc".
now an algorithm should try out evey combination
that is possible with these three letters.
like: "abc", "cba", "bca", "bac", "acb", "cab".
how would i implement such a code?
help is appreciated (im really stuck with this ;))
my question is about programming in C.
lets assume that a user inputs the letters "abc".
now an algorithm should try out evey combination
that is possible with these three letters.
like: "abc", "cba", "bca", "bac", "acb", "cab".
how would i implement such a code?
help is appreciated (im really stuck with this ;))