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.
33 lines
564 B
33 lines
564 B
#include <stdbool.h>
|
|
#include <stdlib.h>
|
|
#include <stddef.h>
|
|
#include <stdio.h>
|
|
|
|
|
|
typedef struct maillon
|
|
{
|
|
int v;
|
|
struct maillon *suiv;
|
|
} Maillon, *Liste;
|
|
|
|
|
|
typedef struct maillonG
|
|
{
|
|
int v;
|
|
struct maillonG *suiv;
|
|
Liste l;
|
|
} MaillonG, *Graphe;
|
|
|
|
|
|
Liste listenouv (void);
|
|
bool videList (Liste l);
|
|
Liste insTList (Liste l, int x);
|
|
Liste insList (Liste l, int x);
|
|
Liste supTList (Liste l);
|
|
Liste supList (Liste l, int x);
|
|
int tList (Liste l);
|
|
bool rechList (Liste l, int x);
|
|
int lgList (Liste l);
|
|
Liste addQList (Liste l, int x);
|
|
void afficherList (Liste l);
|