need way to find all character combinations in a

Dave P. Schaumann dave at cs.arizona.edu
Tue Jan 22 00:55:59 AEST 1991


In article <59459 at aurs01.UUCP> you write:
>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

You will probably hear this quite a lot in the following days:

  USENET IS NOT THE PLACE TO GET YOUR HOMEWORK DONE FOR YOU!!!

If you really can't think of an algorithm, maybe a trip to the library is
in order.

>Thanks in advance...
>***********************************************
>*  MARK VARNELL      ...mcnc!aurgate!varnell  *
>***********************************************


Dave Schaumann		|  And then -- what then?  Then, future...
dave at cs.arizona.edu	|  		-Weather Report



More information about the Comp.lang.c mailing list