fGets c
<open file>
while(fgets(<char array>, <size of array>, <file pointer>) != null)
Successful Serval
<open file>
while(fgets(<char array>, <size of array>, <file pointer>) != null)
char string[100];
while(fgets(string, 100, fp)) {
printf("%s\n", string);
}