I would like to create one struct child of ENTITY because I want to create more parameters in the ENTITY. I tryed create this struct but did nor work: typedef struct OBJECTS { var number; char *node; struct ENTITY* parent; } OBJECTS;
Some body could help me?
Re: create one struct child of ENTITY
[Re: amadeu]
#156169 09/21/0722:0409/21/0722:04
I created this struct but the follow code did not work becouse my Struct did not inherit from ENTITY: I would like tho create one struct with more parameters from Entity struct. typedef struct { var number; char *node; ENTITY* parent; } OBJECTS;