- Solve anagrams using a simple word list
- A compiler supporting
c++-20- Override the default by setting the
CXXenvironment variable
- Override the default by setting the
make: Builds the solvermake clean: Removes the compiled solver, if presentDEBUG=[true/false]: Environment variable to enable debug support- Includes debug symbols, retains the frame pointer and uses sanitisers
./solver [WORD FILE] [CHARACTERS] [--allow-repeat]- For example,
./solver "/usr/share/dict/words" "ananab"
- For example,
[WORD FILE]must be a simple list of words in a text file, separated by new lines/usr/share/dict/wordsis a good example
[CHARACTERS]must be the anagram to solve--allow-repeatallows the solver to use characters more than once- This would allow
bananato be a valid solution forban
- This would allow