Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- #include <stdlib.h>
- #include <locale.h>
- #include <string.h>
- #include <conio.h>
- #define N 20
- struct city
- {
- char name_f[80];
- char name_p[80];
- char date[12];
- char type;
- union
- {
- char adult[15];
- char child[15];
- }type1;
- struct city *next;
- struct city *previous;
- };
- struct city *head=NULL;
- struct city *last=NULL;
- struct city *current=NULL;
- struct city *temp=NULL;
- struct city *newList=NULL;
- typedef struct city DataType;
- struct list
- {
- DataType data;
- struct list *next;
- //struct city *head=NULL;
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement