Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // liste-contacts.h
- #define INSERER 1
- #define EFFACER 2
- #define RECHERCHER 3
- #define IMPRIMER 4
- #define SORTIR 5
- // Déclarations globales.
- struct node {
- char *prenom; // Pointeur vers une chaîne de caractères contenant un prénom.
- long numtel; // Numéro de téléphone.
- struct node *suivant;
- };
- typedef struct node NOEUD;
- // Prototypes des fonctions.
- int afficher_menu();
- void inserer_contact();
- void effacer_contact();
- void rechercher_contact();
- void imprimer_liste();
- void effacer_liste();
- NOEUD *creer_noeud(char *);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement