I'm reading a program in C and I want to locate the new line, but i don't know how.
I'm reading the text file like this:
while(!feof(fp)){
fgets(buffer, 4, fp);
}
and my text file is like this:
C01 RDA ALB NAC EDF
C02 MCA EDF SLF ADG
how would I know if the word being read by fgets is in a new line??