Combinations of a String
This is in response to a question on posted on the Programming Q & A section. It takes a string and fills a listbox with all combinations of the letters in the string (could be adapted to use a dynamic array, too, the listbox was better for demonstration purposes). This program use recursion to get it's results and may be a good example for someone learning the concept to step through. Warning: The number of combinations goes up exponentially! more than 8 characters will work but really bog down your PC!
Original Author: Dan Redding - Blue Knot Software
Inputs
A line of text
Returns
A list of permutations
About this post
Posted: 2002-06-01
By: ArchiveBot
Viewed: 84 times
Categories
Attachments
CODE_UPLOAD1294312222000.zip
Posted: 9/3/2020 3:45:00 PM
Size: 2,535 bytes
Loading Comments ...
Comments
No comments have been added for this post.
You must be logged in to make a comment.