Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Yassine BAHOU
Projet labyrinthe
Commits
0011ba6a
Commit
0011ba6a
authored
Jun 24, 2021
by
Achraf BOUJIDA
Browse files
ajout des guard-headers
parent
f4f1bf10
Changes
1
Hide whitespace changes
Inline
Side-by-side
partition 2 par arbroresc/partitionarbre1.h
View file @
0011ba6a
#ifndef PARTITION__H
#define PARTITION__H
#include
<stdlib.h>
#include
<stdlib.h>
#include
<stdio.h>
#include
<stdio.h>
...
@@ -11,6 +14,13 @@ typedef struct partition
...
@@ -11,6 +14,13 @@ typedef struct partition
}
partition_t
;
}
partition_t
;
partition_t
initialisation
(
int
taille
);
void
Affichage_partition
(
partition_t
partition
);
int
trouver
(
partition_t
partition
,
int
x
);
partition_t
fusion
(
partition_t
partition
,
int
x
,
int
y
);
int
*
lister_composantes
(
partition_t
partition
,
int
pere
);
int
existe
(
int
*
liste
,
int
taille
,
int
element
);
int
nombre_connexe
(
partition_t
partition
);
void
affichage_composante
(
int
*
liste
);
#endif // PARTITION__H
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment