This sample is written in C++ on FreeBSD. It creates a program that hunts for anagrams of a candidate word within a user-supplied file containing words.
This sample includes:
The makefile builds:
There are two strategies for identifying anagrams. Neither one is particularly performant, although one is much more performant than the other. I have some ideas on how to improve performance which I may implement at a later date.
Here's a list of files
Software development | Tutoring | Computer Security | Video | Contact |