You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

32 lines
612 B

#include <stdio.h>
#include <stdlib.h>
#include <stdbool.h>
typedef struct maillong
{
struct maillong *suiv;
int s;
Liste succ;
} Maillong, *Graphe;
typedef struct maillonl
{
int v;
struct maillonl *suiv;
} Maillonl, *Liste;
Graphe adjs(Graphe g, int s);
Graphe graphNouv(void);
Graphe adjt(Graphe g, int x);
bool vide(Graphe g);
bool exist(Graphe g, int x);
Graphe adja(Graphe g, int x, int y);
Graphe supa(Graphe g, int x, int y);
Graphe sups(Graphe g, int x, int y);
Graphe sups(Graphe g, int x);
int de(Graphe g, int x);
int di(Graphe g, int x);
Graphe supst(Graphe g);
void affichage(Graphe g);