Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [2/6/16, 8:10 PM] Antares Chen (antares21chen@gmail.com): Like the docs says this /*
- * this function should read in every word in the dictionary and
- * store it in the dictionary. You should first open the file specified,
- * then read the words one at a time and insert them into the dictionary.
- * Once the file is read in completely, exit. You will need to allocate
- * (using malloc()) space for each word. As described in the specs, you
- * can initially assume that no word is longer than 60 characters. However,
- * for the final 20% of your grade, you cannot assumed that words have a bounded
- * length You can NOT assume that the specified file exists. If the file does
- * NOT exist, you should print some message to standard error and call exit(0)
- * to cleanly exit the program. Since the format is one word at a time, with
- * returns in between, you can
- * safely use fscanf() to read in the strings.
- */
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement