Skip to content
Snippets Groups Projects
Commit aa615af9 authored by Abdul-Malik Elmurzaev's avatar Abdul-Malik Elmurzaev
Browse files

correction petite erreur je ne sais pas ce que la structure Arbre234 fait dans mon code

parent 1c804456
Branches
1 merge request!3Master
...@@ -27,13 +27,6 @@ bool est_lien_connaissance(rtype id){ ...@@ -27,13 +27,6 @@ bool est_lien_connaissance(rtype id){
return (id == EPOUX || id == AMI || id == CONNAIT || id == VIT); return (id == EPOUX || id == AMI || id == CONNAIT || id == VIT);
} }
typedef struct snoeud{
int type;
int val[3];
struct snoeuf* fils[4];
}arbre, *Arbre234;
typedef struct relations{ typedef struct relations{
char* leurRelation[17]; char* leurRelation[17];
}RelationsTable; }RelationsTable;
...@@ -157,16 +150,16 @@ typedef enum{ ...@@ -157,16 +150,16 @@ typedef enum{
PERSONNE=1, OBJET, ADRESSE, VILLE PERSONNE=1, OBJET, ADRESSE, VILLE
}etype; }etype;
typedef struct s_entite{ typedef struct s_entite{
char nom[LONG_NOM_MAX]; // le nom de lentit p.ex � Peugeot 106 � char nom[LONG_NOM_MAX]; // le nom de l entite p.ex � Peugeot 106 �
etype ident; // lidentifiant associ, p.ex OBJET etype ident; // l identifiant associe, p.ex OBJET
}*Entite; }*Entite;
//3.1 les structures de donnes //3.1 les structures de donnees
typedef struct s_sommet{ typedef struct s_sommet{
// A DEFINIR Entite uneEntite;
}*Sommet; }*Sommet;
typedef struct s_arc{ typedef struct s_arc{
// A DEFINIR Sommet sommets[2]; // relation de sommet[0] avec sommet[1]
}*Arc; }*Arc;
typedef struct s_relations{ typedef struct s_relations{
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment