o in alternativa:codice:while ( *(fgets(buffer,BUFFER_LENGTH, stdin)) != '\n') { ... }
codice:do { fgets(buffer, BUFFER_LENGTH, stdin); }while ( buffer[0] != '\n');
o in alternativa:codice:while ( *(fgets(buffer,BUFFER_LENGTH, stdin)) != '\n') { ... }
codice:do { fgets(buffer, BUFFER_LENGTH, stdin); }while ( buffer[0] != '\n');