|
I typedef sono semplicemente degli alias per tipi, cioè un modo sintetico per scrivere un tipo,
con
typedef LISTNODE *LISTNODEPTR;
stai semplciemente dicendo che anzicche scrivere
LISTNODE *
scriveverai
LISTNODEPTR
Quindi se ad esempio vuoi dichiarare un puntatore alla struttura puoi scrivere
LISTNODE *nodo;
oppure sfruttando il typedef:
LISTNODEPTR nodo.
Tutto qui.
__________________
Sun Certified Java Programmer
EUCIP Core Level Certified
European Certification of Informatics Professionals
|