I wasnt sure if I should continue to post in the previous thread, but I overlooked a specification, and I couldnt get it to work with this.
I was using the suggestion if line = '.' to stop reading, but that doesnt work if there is text after it. (ie. .blah blah blah), it wouldnt read the blah blah blah.
I should, however, stop reading when there is a period is on a line by itself, as the first character.
Also, if there is a period to begin the line, I have to add a period to the beginning of the line.
I know I can prepend the period with strcat, but Im not sure how to structure the while loop.
Any suggestions would again be appreciated.
(that is how the file looks, with records as below)
Date: Feb 20, 2004