// Laboratorio 7 - Esercizio 2 - Elementi.h // Matteo Schiff - s295565 #ifndef ELEM_H_DEFINED #define ELEM_H_DEFINED #include #include #define MAX_LEN 30 enum tipo { TRANSIZIONE, INDIETRO, AVANTI }; enum direzione { SPALLE, FRONTE }; typedef struct elemento { char nome[MAX_LEN+1]; int tipo; int dirIngresso; int dirUscita; bool reqPreced; bool finale; float valore; int diff; } Elemento; Elemento leggiElemento(FILE * fp); #endif