Hi,

I'm reading in a file called openInFile and then passing it line by line to two functions as follows....

while (fgets(line, sizeof(line), openedInFile) != NULL) {
test_4_globalVariable(line);
test_4_function(line);
}

These two functions both work fine if I comment the other out, but if I try to call both of them, the first one works fine and the other produces strange results.

Any ideas?


Bill