Advertisement
Guest User

Untitled

a guest
Jun 23rd, 2017
60
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.56 KB | None | 0 0
  1. // liste-contacts.h
  2.  
  3. #define    INSERER 1
  4. #define    EFFACER 2
  5. #define RECHERCHER 3
  6. #define   IMPRIMER 4
  7. #define     SORTIR 5
  8.  
  9. // Déclarations globales.
  10.  
  11. struct node {
  12.     char *prenom; // Pointeur vers une chaîne de caractères contenant un prénom.
  13.     long numtel; // Numéro de téléphone.
  14.     struct node *suivant;
  15. };
  16.  
  17. typedef struct node NOEUD;
  18.  
  19. // Prototypes des fonctions.
  20.  
  21. int afficher_menu();
  22. void inserer_contact();
  23. void effacer_contact();
  24. void rechercher_contact();
  25. void imprimer_liste();
  26. void effacer_liste();
  27. NOEUD *creer_noeud(char *);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement