Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- typedef struct tagCon
- {
- int cityB;
- int dist;
- char rtype;
- tagCon* next;
- }Con;
- typedef struct tagListHead
- {
- Con* pHead;
- Con* pTail;
- } ListHead;
- typedef struct tagCity
- {
- int citynum;
- ListHead Head;
- }City;
- void MakeEmptyList(ListHead* pFirst);
- void AddElement(int cityB, char rtype, int dist, ListHead* pHead);
- City** Read();
- void Print(City** Cities);
Add Comment
Please, Sign In to add comment