this is a pretty basic file I/O thing that i need help on. im used to javas buffered reader which seems less complicated than the c method.
basically, i need to know how to get to the next line of a file for reading. i can read whatever i need from the line (in this case 1 integer), but if there is no integer on the line or it doesnt meet my criteria, how do i skip that line, using the fgetc method of reading in a \n character. i only have to have the value of the integer from the line, but im not sure how to get to the next line or how to start scanning from that line. i hope this makes sense, thank you!