Sì, puoi usare fgets, il cui prototipo è:
char *fgets(char *s, int size, FILE *stream);
P.S. Puoi compattare il codice così
codice:if ((c = fgetc (fp)) == 'A') ...
Sì, puoi usare fgets, il cui prototipo è:
char *fgets(char *s, int size, FILE *stream);
P.S. Puoi compattare il codice così
codice:if ((c = fgetc (fp)) == 'A') ...
ChReAn
-------------------
Slackware 9.1 powered