Advertisement
Guest User

Untitled

a guest
Dec 21st, 2014
159
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.32 KB | None | 0 0
  1. //DB entry
  2. #include <cstdio>
  3. struct List
  4. {
  5.     char *name;
  6.     unsigned int phone_number;
  7.     List *next;
  8. };
  9. List *Find(List *ls, const char *name_to_find);
  10. void Add(List *&ls, const char *new_name, unsigned int new_phone);
  11. void Del_elem(List *&ls, const char * name_to_delete);
  12. void PrintToFile (List * ls, FILE * fl);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement