Sorry...now I understand... :-) .. do you know an easy way to write it in C? i was thinking to usa a data structure Room made as below..
typedef struct room { int x; /* Value */ char *name; /* room name*/ char flag /* 1 = there's the camera*/ /*0 = there isn't the camera*/ struct room *fson; /* Pointer at first son */ struct room*fbro; /* Pointer at first brother*/ } room; --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Algorithm Geeks" group. To post to this group, send email to algogeeks@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/algogeeks -~----------~----~----~----~------~----~------~--~---