Originariamente inviato da giorgio_kollias
semmai la gets, la fgets si usa per operare su file
Basta leggere la documentazione per vedere che fgets può leggere anche dalla tastiera :P

Inoltre se usi la gets il compilatore ti avverte con una cosa del tipo "warning: the `gets' function is dangerous and should not be used."