Implements the UI for the spelling checker. More...
Functions | |
| void | spellcheck (const string &dictfile, bool debug) |
| Process input from cin and compare against the dictionary. If the word is not found and has not been seen before, spelling corrections are output to cout. More... | |
| int | main (int argc, const char **argv) |
| Main function, processes inputs and runs spellcheck. | |
Implements the UI for the spelling checker.
| void spellcheck | ( | const string & | dictfile, |
| bool | debug | ||
| ) |
Process input from cin and compare against the dictionary. If the word is not found and has not been seen before, spelling corrections are output to cout.
| dictfile | Name of dictionary file. |
| debug | Boolean corresponding to the -d flag |
1.8.7