Strange behavior if I use fgets() after fscanf()
If i trying reading a line of text using an fgets() command after reading the previous line with fscanf(), fgets returns an empty line to me. And if I use another fgets() I get the line of text that I originally wanted to read. I have no issues if I just keep doing fgets one after the other..
Is there some issue with fscanf() that causes this.. or is it just my compiler doing something funny.? And any ideas on how to get around this?