Thanks for the help so far, for some reason when I posted the thread it screwed up the code. Here is some code from my program:
The text Doc I am trying to read looks something like this:
LID ...
Type: Posts; User: DarrinTE
Thanks for the help so far, for some reason when I posted the thread it screwed up the code. Here is some code from my program:
The text Doc I am trying to read looks something like this:
LID ...
Thanks, but my code is really long and I really only need to know if anyone knows a better way to read data from text file and why sscanf would skip data. I think it has something to do with...
I am trying to read records from a text file. What is the best way to do this? Here is what I did in my program:
fgets(sentence,500,myfile);
...