Pouvez vous m'aider, je cherche comment manipuler les arbres en langage C qui ont plusieurs pères, donnez moi des idées.
merci
struct NODE { /* truc et machin et chose */ struct NODE *parent; // optionnellement int child_count; struct NODE *chlidren; };
struct NODE {
/* truc et machin et chose */
struct NODE *parent; // optionnellement
int child_count;
struct NODE *chlidren; };
struct NODE { /* truc et machin et chose */ int child_count; struct NODE *(children[]); };
struct NODE { /* truc et machin et chose */ int parent_count; struct NODE **parent; int child_count; struct NODE *(children[]); };
struct NODE { /* truc et machin et chose */ int parent_count; struct NODE **parent; int child_count; struct NODE **children; };