bilelkort

Untitled

May 10th, 2021
700
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #ifndef CONTACT_H_INCLUDED
  2. #define CONTACT_H_INCLUDED
  3.  
  4. typedef struct{
  5.  
  6.     char *name;
  7.     int phone;
  8.     char *address;
  9.     char *email;
  10.  
  11. }contact;
  12.  
  13. typedef struct cellule{
  14.  
  15.     contact data;
  16.     struct cellule* next;
  17.  
  18. }cellule;
  19.  
  20. typedef cellule* liste;
  21.  
  22. void saisirContact(contact* newC);
  23. cellule* creeContact(contact* newC);
  24. liste addNewContact(liste tete,contact* newC);
  25. void listOfAllContacts(liste tete);
  26.  
  27. #endif // CONTACT_H_INCLUDED
  28.  
RAW Paste Data