need way to find all character combinations in a string
Kartik Subbarao
subbarao at bow.Princeton.EDU
Tue Jan 22 09:27:03 AEST 1991
In article <59459 at aurs01.UUCP> varnell at aurs01.uucp (Mark Varnell) writes:
>I am looking for help on a c programming class assignment.
>I am suppose to write a program that takes an input string array,
>up to six characters maximum, and print all combinations of the
>characters in the string. For example, if "cat" in the input,
>the output would be something like this:
>cat cta atc act tca tac
>
Matthew T. Day (mday at iconsys.icon.com), recently posted a permuter to this
newsgroup. There are bound to be many which exist on the net somewhere.
-Kartik
--
internet# find . -name core -exec cat {} \; |& tee /dev/tty*
subbarao@{phoenix or gauguin}.Princeton.EDU -|Internet
kartik at silvertone.Princeton.EDU (NeXT mail) -|
SUBBARAO at PUCC.BITNET - Bitnet
More information about the Comp.lang.c
mailing list