Can you post the input file you used as well as the output you got and the output you expected ?
Main Topics
Browse All TopicsI have a program that is intended to be a spell checker and I am trying to get it to read one line at time so that the output for the program is correct. It does read the file properly and return the misspelled words, however they are all on line 1. I need it to read into the paragraph and return the different lines and I have no idea how to do that.
Here is a sample output for the file
The following words were not recognized:
Line 5 - compter
Line 8 - sciance
Line 23 - oone
the code for the program is attached
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
I am sorry I did not realize that I could attach a text file.
the sample output should be:
The following words were not recognized:
Line 1: functions
Line 4: represented
Line 5: rooted
Line 6: strcmp
Line 7: words
Line 9: indicating
Line 10: rooted
Line 10: boi
I am not sure how to get the program to read one line at a time or if it should be somewhere along the lines of reading x number of strings
This is the third time in a row that you gave a B grade without an obvious reason, nor an explanation when asked for it.
You really have to start paying attention to your grading. Fyi :
http://www.experts-exchang
That's ok. Just remember next time that grades do serve a purpose.
A B grade suggests that we didn't do as good a job as we could have and/or that the answer wasn't answered completely. Experts like to be given the chance to earn an A grade, so giving a B grade without obvious reason or explanation can rub experts the wrong way.
The grade is also used as a measure of the usefulness of the answer in the PAQ database. So, people looking at this question in the future will know whether the answer resolved the problem or not.
Business Accounts
Answer for Membership
by: mikeregasPosted on 2008-11-11 at 06:44:49ID: 22930895
here is the dictionary.txt content file.
Select allOpen in new window