I have a text file like following and need to read out the names of each
person. Since the only accurate info is there is a null line before
starting a new name, I have written following code to take out the
names, but it doesn't work. Looks like "strcmp(tmp,"\n ")==0" is never
reached. How can I do?
Thank you!
my code:
FILE * fp;
...