I'm trying to access the next line using fgets in order to count the number of lines that are similar to the next one, is there anyway to get the NEXTLINE variable?
similar = 0;
char line[100]
FILE *f = fopen(file, "r");
while (fgets(line, 100, f)) {
if (strcmp(NEXTLINE, line) == '0') {
similar++;
}
