Bonjour,

J'ai ces erreurs à l'execution :
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
tree.c: In function ‘appartient’:
tree.c:132: erreur: opérandes invalides pour le binaire !=
tree.c: In function ‘creer_tableau_sommets’:
tree.c:148: attention : passing argument 2 of ‘appartient’ from incompatible pointer type
tree.c:149: erreur: request for member ‘x’ in something not a structure or union
tree.c:150: erreur: request for member ‘y’ in something not a structure or union
tree.c:151: erreur: request for member ‘z’ in something not a structure or union
tree.c:155: attention : passing argument 2 of ‘appartient’ from incompatible pointer type
tree.c:156: erreur: request for member ‘x’ in something not a structure or union
tree.c:157: erreur: request for member ‘y’ in something not a structure or union
tree.c:158: erreur: request for member ‘z’ in something not a structure or union
tree.c:162: attention : passing argument 2 of ‘appartient’ from incompatible pointer type
tree.c:163: erreur: request for member ‘x’ in something not a structure or union
tree.c:164: erreur: request for member ‘y’ in something not a structure or union
tree.c:165: erreur: request for member ‘z’ in something not a structure or union
tree.c:169: attention : passing argument 2 of ‘appartient’ from incompatible pointer type
tree.c:170: erreur: request for member ‘x’ in something not a structure or union
tree.c:171: erreur: request for member ‘y’ in something not a structure or union
tree.c:172: erreur: request for member ‘z’ in something not a structure or union
tree.c: In function ‘main’:
tree.c:191: erreur: array size missing in ‘sommets’
tree.c:194: attention : passing argument 2 of ‘creer_tableau_sommets’ from incompatible pointer type