setalpha

Sylvain Saucier

void Guess.setalpha(string* path)

Function used to reset the alphabet to another value. Mainly used in constructor.

path

Alphabet to use, if the text correspond to a valid file, the content of the file is used to generate the alphabet. If it is not a valid file, the content of the string is used. The format is a 64 lines text file with similar characters grouped on the same line.

Notes

This operation invalidates the dictionary, whom should be discarded and rebuilt to ensure proper operations in the library.


Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks