BinaryTree  HW 06
Spell Checking Using Binary Trees
 All Classes Files Functions Variables Pages
Functions
myspell.cpp File Reference

Implements the UI for the spelling checker. More...

#include <string>
#include <iostream>
#include <stdexcept>
#include "Dictionary.hpp"

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.
 

Detailed Description

Implements the UI for the spelling checker.

Author
CS 70 Provided Code with additions by Whale and Swan

Function Documentation

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.

Parameters
dictfileName of dictionary file.
debugBoolean corresponding to the -d flag