i have seen several ways of doing this
which is the correct way or are they all equally valid and down to preferenceCode:typedef struct some_name { // variables here } some_name; typedef struct some_name { //variables here } some_other_name; // this is used later on to address this struct struct some_name // to use this they write struct some_name myvar; { //variables here }; struct some_name { //variables here }; typedef struct some_name myvar //then type my_var->some memeber
many thanks
coop