Dancing Kayak - Code Samples - Anagrams

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.

Content Summary

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