vendredi 6 mars 2015

Pointers Structure (C programmaing)



i have a struct that I don't understand :



typedef struct {
int x;
int y;
} Position;



typedef struct {
int id;
Position upper_left;
Position lower_right;
int priority;
} *Window_Description;


I don't understand why the struct *Window_Description has an asterisk before with? It's a pointers to the structure ? Because when I will create some Window_Description, it will be pointers ?


I'm kinda new in C thanks for helping!




Aucun commentaire:

Enregistrer un commentaire