I am trying to write a program that will spell check a file by reading in two files. he problem I am having is that I have to enter the file containing a list of dictionary words into a binary search tree. I am trying to use fget to get all the words in the file into the tree. When I try it the way it is posted below only the first word goes through the insert function. When I try to write while(!feof(ifp)) it goes through all the words, but each word enters the BST on its own thus creating its own BST. I don't know how to get the words from the dictionary file into the BST and have it create a whole BST.