/**************************************************************************** * dictionary.c * * Computer Science 50 * Problem Set 6 * * Implements a dictionary's functionality. ***************************************************************************/ #include #include "dictionary.h" /* * bool * check(const char *word) * * Returns true if word is in dictionary else false. */ bool check(const char *word) { // TODO return false; } /* * bool * load(const char *dict) * * Loads dict into memory. Returns true if successful else false. */ bool load(const char *dict) { // TODO return false; } /* * unsigned int * size() * * Returns number of words in dictionary if loaded else 0 if not yet loaded. */ unsigned int size() { // TODO return 0; } /* * bool * unload() * * Unloads dictionary from memory. Returns true if successful else false. */ bool unload() { // TODO return false; }