Advertisement
Merkava

Untitled

May 18th, 2014
237
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.61 KB | None | 0 0
  1. #include <stdio.h>
  2. #include <stdlib.h>
  3. #include <locale.h>
  4. #include <string.h>
  5. #include <conio.h>
  6. #define N 20
  7. struct city
  8. {
  9. char name_f[80];
  10. char name_p[80];
  11. char date[12];
  12. char type;
  13. union
  14. {
  15. char adult[15];
  16. char child[15];
  17.  
  18. }type1;
  19. struct city *next;
  20. struct city *previous;
  21. };
  22.  
  23. struct city *head=NULL;
  24. struct city *last=NULL;
  25. struct city *current=NULL;
  26. struct city *temp=NULL;
  27. struct city *newList=NULL;
  28.  
  29. typedef struct city DataType;
  30. struct list
  31. {
  32. DataType data;
  33. struct list *next;
  34. //struct city *head=NULL;
  35. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement