Nel file stringhe.h che però non ho postato:
stringhe.h
codice:/* TIPO STRINGA*/ #include<string.h> #ifndef STRINGHE_H #define STRINGHE_H #define eq(A,B) (strcmp(A,B)) /* confronto */ typedef char* Item; Item* data_read(FILE *fp, int* ndati); /*lettura da file*/ void print(Item* vett, int ndati); /*stampa vettore*/ Item acq_dato(); /*acquisisce dato da tastiera*/ void print_dato(Item item) /*stampa dato*/ #endif