Type, I know that the function feof () returns 0 if it did not find an end of file and that it requires 1 parameter, which is the variable_pile_pile_FILE pointer, so far so good.
If I do the while so it works like neither of the below but I do not understand how.
while(!feof(ponteiro_pra_variavel_tipo_FILE)) {
}
Is not that right to test like this?
while(feof(ponteiro_pra_variavel_tipo_FILE) == 0){
}
How does he know through !feof(ponteiro_pra_variavel_tipo_FILE)
, that the function is returning 0
?