Hello again. Im workin on a spellchecker and I can't seem to understand why (in my main method) it is not printing out anything. Any reasons or suggestions to what I can do? [I realize it won't be working completely... so far I would think it should show at least the incorrect words... btw thirdgrade.txt is full of spelling errors] Here is the code...
Hmm... Ill give it a shot. I had been using the run application params or whatever and setting the file names there to test (1st is dictionary, 2nd and any other are files to check) Worth a look though. Thanks!
I don't see anything jumping out at me here. So I would suggest that you start testing out code to see what is actually not working. For starters try printing out "dicWords" after you make the call to "spelling.GetWords()", to verify that the tree actually has something in it.
Please ignore post, I have no idea what I am talking about.
Just let me do the talking. Ahem ... so ... you see ... we have this tiny ad...
Free, earth friendly heat - from the CodeRanch trailboss